Atelier UI

Search components…

Search components…

Hover Card

Delayed hover and focus preview card for profiles and link previews.

Edit in sandbox

Copy a prompt for your AI coding tool with the source, dependencies and usage

Props

HoverCardProps

Also accepts all props of Omit<React.ComponentProps<"span">, "children">

PropTypeDefaultDescription
trigger* requiredReact.ReactNode—Element that reveals the card, usually a link
children* requiredReact.ReactNode—Card content
openDelaynumber200—
closeDelaynumber150—
side"top" | "bottom""bottom"—
align"start" | "center" | "end""center"—
widthnumber288—

Install

$ npx shadcn@latest add https://chromotion.dev/r/hover-card.json

More like this