Hover Card
A preview shown when hovering or focusing a link.
components/ui/hover-card.tsx
Preview
Code
Installation
npx betterone-ds add hover-cardProps
| Prop | Type | Default |
|---|---|---|
| HoverCard placement | string | "bottom" |
Accessibility
- Opens on keyboard focus too. Never put the only copy of important content in it.

