X Enterprises
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

PropTypeDefaultDescription
urlstringrequiredFull canonical URL of the post to share
titlestringrequiredPost title used as share text
platforms('twitter' | 'facebook' | 'linkedin' | 'email')[]all fourWhich 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
Copyright © 2026