Chat Bubble
Message bubble with avatar, timestamp, tail pointer for left/right alignment, and read receipt dots.
Hey, how are you?
I'm doing great! Just finished the new designs.
Nice! Can you send them over?
Dependencies
- clsx
- tailwind-merge
Files
- components/ui/chat-bubble.tsx
Installation
Using shadcn CLI
npx shadcn add chat-bubble --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.
Comment Box
Comment input with avatar, submit action, and live character count.
Comment Card
Compact comment card with avatar, name, timestamp, body text, like and reply actions.