The HoverCard previews content behind a link or trigger on hover. Compose it from HoverCard, HoverCardTrigger, and HoverCardContent.
Preview
Usage
Installation
$ npx shadcn@latest add https://spark-ui-olive.vercel.app/r/hover-card.json
Properties
| Prop | Type | Default | Description |
|---|---|---|---|
openDelay | number | 700 | Delay in ms before the card opens. |
closeDelay | number | 300 | Delay in ms before the card closes. |
className | string | — | Additional CSS classes. |