
Description
vue-social-sharing is a renderless Vue.js component for sharing links to social networks, and it is compatible with server-side rendering. Renderless means the package ships minimal HTML and no CSS, so you control the markup and styling of each share button. The README says it is less than 2.5 KB gzipped. Before using it, the README explains that social networks crawl a shared link to find Open Graph meta tags, and without them the network cannot show rich content for the link. It lists which networks accept which properties, and every network needs a url, with general properties for the tag, popup width and more. You can load the library with Browserify or Webpack, in Nuxt, or with a script tag in HTML, and then use the share network component. A Vue 3 build is available in alpha, and the README warns that some features are not yet ready and bugs are likely. The source is on GitHub.…
Highlights
- Renderless share components for Vue.js
- Less than 2.5 KB gzipped
- Server-side rendering compatible
- Open Graph guidance for rich previews
- Vue 3 alpha build
Ratings & Reviews
No ratings yet
Be the first to rate vue-social-sharing.
People also visit

v-network-graph
An interactive SVG based network-graph visualization component for Vue 3
vue-social-sharing FAQ
What is vue-social-sharing?
A renderless Vue.js component for sharing links to social networks.
Why do shared links need Open Graph tags?
Social networks read Open Graph meta tags to show a rich preview. Without them, the link shows no content.
How do I load it?
The README covers Browserify or Webpack, Nuxt, and a plain HTML script tag.
Is Vue 3 supported?
There is a Vue 3 alpha build, which the README says may have bugs and missing features.
What are the best vue-social-sharing alternatives?
Popular alternatives to vue-social-sharing include link-prevue, vue-github-buttons and v-network-graph. See all vue-social-sharing alternatives












