Block · CLI
Social Share
Share actions for articles.
Preview
npx shadcn@latest add @atroui/social-shareInstallation
Agent blurb — install command + no npm UI rule. For agents
npx shadcn@latest add @atroui/social-shareSource lands in your repo. Installation · Registry
Usage
tsx
import { SocialShare } from "@/components/blocks/social-share"
<SocialShare url="…" title="…" />API reference
| Prop | Type | Default | Description |
|---|---|---|---|
| url | string | - | Share URL. |
| title | string | - | Share title. |
| label | string | 'Share' | Visible label. |
Social Share