nuxt-x-blog
ShareButtons
Social share buttons for Twitter, Facebook, LinkedIn, and Email on post pages.
ShareButtons
The XBLShareButtons component renders a row of social sharing buttons for the current post. Controlled by the showShareButtons flag in xBlog app config.
Components
<XBLShareButtons />
Pass the post URL and title; the component builds each platform's share URL automatically.
<XBLShareButtons
:url="postUrl"
:title="post.title"
/>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
url | string | required | Full canonical URL of the post to share |
title | string | required | Post title used as share text |
platforms | ('twitter' | 'facebook' | 'linkedin' | 'email')[] | all four | Which platforms to show |
AI Context
component: XBLShareButtons
package: "@xenterprises/nuxt-x-blog"
use-when: Bottom of a blog post page — social sharing links for Twitter, Facebook, LinkedIn, Email
