Back to Components
Social
Share Buttons
Row of social share buttons for X, LinkedIn, and copy link actions.
PropsUsage ExampleVariations
Dependencies
- clsx
- tailwind-merge
Files
- components/ui/share-buttons.tsx
Installation
Using shadcn CLI
npx shadcn add share-buttons --url https://ui.hampton.ioManual installation
Copy the component file to your project and install dependencies:
npm install clsx tailwind-mergeRelated Social Components
Activity Feed
List of activity items with avatar, action text, and timestamp.
Activity Feed Item
Timeline style activity entry with avatar, action text, timestamp, and optional attachment preview.
Activity Ticker
Live scrolling activity feed with looping updates and optional pause on hover.
Avatar Group
Stacked avatar group with overflow count.
Chat Bubble
Message bubble with avatar, timestamp, tail pointer for left/right alignment, and read receipt dots.
Comment Box
Comment input with avatar, submit action, and live character count.