Back to Components
Cards
Comment Card
Compact comment card with avatar, name, timestamp, body text, and reply action.
Jordan Lee
2 hours agoLoved the update. The new flow feels faster and clearer.
Dependencies
- clsx
- tailwind-merge
Files
- components/ui/comment-card.tsx
Installation
Using shadcn CLI
npx shadcn add comment-card --url https://ui.hampton.ioManual installation
Copy the component file to your project and install dependencies:
npm install clsx tailwind-merge