bit Bheadless

Hover Card

For sighted users to preview content available behind a link.

Implementation: CSS Tailwind

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.

@radix-ui

Custom delays

Tune OpenDelay and CloseDelay (milliseconds). Here the card opens instantly and lingers for a second after you leave.

Quick open, slow close

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.

Top
Right
Bottom
Left

Controlled

Drive the open state externally with Open and OnOpenChange. Hovering still works; the button reflects and toggles the same state.

Target
An unhandled error has occurred. Reload 🗙