bloxa

Hover Card

FREE

Rich preview card that opens on hover or focus, with delays and an optional arrow.

Installation

Terminal
npx @bloxa/cli add hover-card
# or: npx shadcn@latest add @bloxa/hover-card

Packages installed automatically: radix-ui

Examples

Profile preview

Built by @bloxa — hover or focus the name.

API reference

Every component also accepts the props of the element it renders.

HoverCard

PropTypeDefaultDescription
openDelaynumber300Delay before opening, in ms.
closeDelaynumber150Delay before closing, in ms.

HoverCardContent

PropTypeDefaultDescription
side"top" | "right" | "bottom" | "left""bottom"Which side of the trigger it opens on.
align"start" | "center" | "end""center"Alignment.
showArrowbooleanfalseArrow pointing at the trigger.