User Profile Card
Profile card with avatar, name, bio, stats (followers, following, posts), and follow button.
Alex Morgan
Product designer exploring the intersection of tech and creativity.
3.2k
Followers
218
Following
142
Posts
Dependencies
- clsx
- tailwind-merge
Files
- components/ui/user-profile-card.tsx
Installation
Using shadcn CLI
npx shadcn add user-profile-card --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.