Hover Card

A preview shown when hovering or focusing a link.

components/ui/hover-card.tsx

Installation

npx betterone-ds add hover-card

Props

PropTypeDefault
HoverCard placementstring"bottom"

Accessibility

  • Opens on keyboard focus too. Never put the only copy of important content in it.