Hover Card
A floating preview of content behind a link or control.
Default
Preview what a link or mention points to without leaving the page. HoverCardTrigger renders an anchor, so pass href.
Escalated by Support agent after 2 failed transfers.
Side
Bottom is the default. Near an edge the card flips to the opposite side; this example turns flipping off so each one opens where its label says.
Align
Center is the default. Pass start or end to line the card up with an edge of the trigger.
Delay
Set delay and closeDelay on the trigger to change the open and close timing. The defaults are 600ms and 300ms.
Best practices
When to use
- Use for sighted pointer users to preview what a link or mention points to, such as an agent or teammate, without navigating.
- Use Tooltip for a short label and Popover when the surface must open on click and hold interactive content.
Behavior
- Opens on hover or focus after delay (600ms) and closes after closeDelay (300ms); set both on HoverCardTrigger. Lower them for dense lists, never below about 100ms.
- Bottom and center are the defaults (side, align) and it flips near edges.
- Keep content supplemental: the link itself must still go somewhere useful, and never hide required information in the card.
Content
- Favor a compact identity preview: Avatar, name, one-line description and one metadata row (“Deployed March 2026”).
Accessibility
- HoverCardTrigger renders an anchor; pass a real href so keyboard and screen-reader users can follow the link instead.