Hover Card
Rich preview shown on hover/focus of a trigger (user cards, entity previews).
Usage
Import
import { HoverCard } from "@qeetrix/ui";It can also be imported on its own from @qeetrix/ui/components/hover-card.
Controlled and uncontrolled
Pass the value prop to control it, or the default prop to let the component own it.
| Value | Default | Change |
|---|---|---|
open | defaultOpen | onOpenChange |
States
open
Support
| Feature | Status |
|---|---|
| Right-to-left | Supported |
| Dark mode | Supported |
| Density | Not supported |
| Server rendering | Client component |
| Reduced motion | Supported |
Accessibility
No ARIA widget pattern. Not yet audited.
Keyboard
Tab EscapeFocus
Each control is a Tab stop, in order. While open, focus returns on close.
Tests
Covered by unit, accessibility (axe) and visual tests.