Documentation

Components

Links, buttons, groups, QR, and an accessible native share menu.

ShareButton

Renders a native button, resolves the provider, opens a safe intent, and announces the result.

<ShareButton
	provider="linkedin"
	:payload="payload_share"
	@result="handleResult"
/>

ShareGroup and ShareMenu

ShareGroup exposes provider slots and copy/native actions. ShareMenu uses a native disclosure with Escape handling and focus restoration.

ShareQr

Generates an SSR-safe SVG QR code for the normalized share URL without adding a network provider.

<ShareQr :payload="payload_share" :size="192" />

SocialShare popup

The compatibility component opens a new tab by default. Add popup for a sized, opener-isolated window, and react to the share and blocked events. Email, SMS, and Viber keep their native protocols.

<SocialShare
	network="x"
	popup
	:window-width="600"
	:window-height="480"
	@blocked="offerCopyFallback"
/>