• Home
  • About Me
  • AI Tools
  • Twitter Trends
  • Age Calculator
  • Public Holidays
  • Fancy Fonts
  • Privacy Policy
  • Contact Me

iamrohit.in

My Public Notebook

Skip to content
Menu
  • Tools
    • AI Astrologer
    • Solar System
    • Printable Calendar
    • X Trends
    • Google Trends
    • Youtube Trends
    • Age Calculator
    • Birthday Card Maker
    • Wedding Anniversary Calculator
    • Public Holidays
    • English to Hindi Typing
    • Business Name Generator
    • Word Finder
    • Fancy Text Generator
    • IP Location Finder
    • Hours Calculator
    • Date Time Calculator
    • Emoji Copy Paste
  • jQuery Plugins
    • Accordion
    • Barcode
    • Calendar
    • Clock
    • Countdown
    • Character Count
    • ColorPicker
    • Data Grid
    • DatePicker
    • Date Time
    • EU Cookie Law
    • Fileuploader
    • Form Validation
    • Icon Picker
    • Image Slider
    • image Crop
    • Image Zoom
    • Inputmask
    • Loading
    • Mega Menu
    • Menu
    • Multiselect
    • Multi-Step Form
    • News Ticker
    • Notification
    • Photo Gallery
    • QR Code
    • TimePicker
    • Tooltip
  • HOSTING

Vue component for social sharing

by Rohit

vue-socialmedia-share

Vue component for social sharing

vue-socialmedia-share is a vue component for sharing links to social networks

screen shot 2018-05-30 at 4 46 44 pm


Features

  • No external script loading
  • Opens a new share tab
  • Share Button for:
    • [Facebook]
    • [Twitter]
    • [Reddit]
    • [LinkedIn]
    • [Google +]
    • [WhatsApp]
    • [Telegram]
    • [Email]
    • [Pinterest]
  • Social Media icons includes in the library
  • Change the size of icons

Installation

yarn add vue-socialmedia-share

or

npm install vue-socialmedia-share

API

Facebook

import { Facebook } from 'vue-socialmedia-share';

// usage in local component

export default {
  components: {
    Facebook
  }
};

Props

Prop Data Type Required Description
url String true URL to share.
scale String Size of icon (1-9)

Twitter

import { Twitter } from 'vue-socialmedia-share';

// usage in local component

export default {
  components: {
    Twitter
  }
};
Prop Data Type Required Description
url String true URL to share.
scale String Size of icon(1-9)
title String Title of the shared page

LinkedIn

import { Linkedin } from 'vue-socialmedia-share';

// usage in local component

export default {
  components: {
    Linkedin
  }
};
Prop Data Type Required Description
url String true URL to share.
scale String Size of icon(1-9)

Reddit

import { Reddit } from 'vue-socialmedia-share';

// usage in local component

export default {
  components: {
    Reddit
  }
};
Prop Data Type Required Description
url String true URL to share.
scale String Size of icon(1-9)
title String Title of the shared page


Telegram

import { Telegram } from 'vue-socialmedia-share';

// usage in local component

export default {
  components: {
    Telegram
  }
};
Prop Data Type Required Description
url String true URL to share.
scale String Size of icon(1-9)
title String Title of the shared page

WhatsApp

import { WhatsApp } from 'vue-socialmedia-share';

// usage in local component

export default {
  components: {
    WhatsApp
  }
};
Prop Data Type Required Description
url String true URL to share.
scale String Size of icon(1-9)
title String Title of the shared page

Pinterest

import { Pinterest } from 'vue-socialmedia-share';

// usage in local component

export default {
  components: {
    Pinterest
  }
};
Prop Data Type Required Description
url String true URL to share.
scale String Size of icon(1-9)

Google +

import { Google } from 'vue-socialmedia-share';

// usage in local component

export default {
  components: {
    Google
  }
};


Prop Data Type Required Description
url String true URL to share.
scale String Size of icon(1-9)

Email

import { Email } from 'vue-socialmedia-share';

// usage in local component

export default {
  components: {
    Email
  }
};
Prop Data Type Required Description
url String true URL to share.
scale String Size of icon(1-9)
subject String Subject of email
body String Body of email
DEMO | DOWNLOAD

Author

© Mohit Bajoria

License

MIT

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Reddit (Opens in new window) Reddit

Related

Posted in VueJsTagged VueJs Social Share Components

Published by Rohit

View all posts by Rohit

Post navigation

Prev 10+ Credit Card Validator Script in jQuery
Next 10+ {UPDATED} Pure CSS Parallax Effects

Categories

  • AI Tools
  • Angular.js
  • Bootstrap
  • CakePHP
  • CSS & CSS3
  • Express
  • Hosting
  • Interview Question and Answer
  • Jquery & Javascript
  • Kali Linux
  • Make Money Online
  • MYSQL
  • NodeJs
  • Offers & Deals
  • Others
  • PHP
  • ReactJs
  • Security Tips
  • SEO
  • Tailwind CSS
  • Tips & Tricks
  • Ubuntu
  • Uncategorized
  • VueJs
  • WordPress
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

#1 Best Web Hosting 🚀

We Recommend Hostinger

Use Code: ASKROHIT20

Hostinger is among the top 3 hosting providers. This website is also hosted on Hostinger. Enjoy ultra-fast speed, 99.9% uptime, and beginner-friendly pricing.

🔥 Get 82% OFF Now
© Copyright 2026 – iamrohit.in
Allium Theme by TemplateLens ⋅ Powered by WordPress