Hover card
A preview card that shows when you rest the pointer on a link.
A preview card that shows when you rest the pointer on a link.
It uses Avatar and Button, which the command adds for you.
npx shadcn@latest add hover-card
npm install lucide-react radix-ui
First time with shadcn/ui? Set it up once.
The code for every component comes with paid plans, along with the rest of the AI toolkit. The first component under each heading is free.
Changed for this site: Initials instead of a profile photo.