Hover Card
A preview card revealed on hover or focus, with a guarded open delay and a 16px-radius surface.
Interactive preview · desktop · dark
Installation
Installation is available on the Startup and Business plans. Your personal install command appears here once you have access.
Usage
Import it, pass your props, and make it part of your product.
example.tsx
import { HoverCardRounded } from '@/components/component-kit/items/hover-card-rounded';
export function Example() { return ( <HoverCardRounded trigger={<a href="#" className="underline">@maya</a>}> <p className="text-sm font-medium">Maya Lindqvist</p> <p className="text-sm text-muted-foreground">Design engineer. Ships on Fridays.</p> </HoverCardRounded> );}Props
| Prop | Type | Default | Description |
|---|---|---|---|
trigger | ReactElement | — | Element that reveals the card. |
openDelay | number | 350 | Delay before the card opens, in milliseconds. |
closeDelay | number | 100 | Delay before the card closes. |