Hover Card
For sighted users to preview content available behind a link, on hover or focus.
Basic
Hover or focus the link to open the card after a short delay. Moving the pointer into the card keeps it open; leaving both the trigger and the card closes it.
Components, icons, colors, and templates for building high-quality, accessible UI.
Custom delays
Tune OpenDelay and CloseDelay (milliseconds). Here the
card opens instantly and lingers for a second after you leave.
Opens with no delay and stays for a full second after the pointer leaves.
Placement
The Anchor on BitBhHoverCardContent supports
top, right, bottom, left with
optional start / end alignment. The engine flips and
shifts to keep the card in view.
Controlled
Drive the open state externally with Open and
OnOpenChange. Hovering still works; the button reflects and toggles
the same state.
The outside button carries data-bit-bh-dismiss-ignore: without it, pressing it would
first dismiss the open surface as an outside press, and its click would then open it again.
Driven from outside via the Open parameter.