Pickers & inputs
JS behaviour
Hover card
A rich preview on hovering a link or keyboard focus; open and close delays, and it stays open while the pointer is inside the card.
Real scenarios
The component as it is used in a product — not a specimen grid.
Design review thread
On a phone the links just navigate — hover cards are an extra, never the only way in.
Important props
| Prop | Type | Default | What it does |
|---|---|---|---|
| trigger (slot) | slot | — | What you hover — usually a link that works on its own (touch never opens the card). |
| open-delay / close-delay | int | 500 · 250 | Open and close delays (ms). |
| side / align | string | bottom · center | Side and alignment; it flips when there is no room. |
Snippet
<x-nx::hover-card>
<x-slot:trigger><a href="/u/sara">@sara</a></x-slot:trigger>
…avatar, bio, stats…
</x-nx::hover-card>