Hover card with positions.
For AI Agents
Hand your agent this brief or the ReUI MCP, not a screenshot. Free to install.
Best for: A grid of outline triggers, one per placement, each opening its card on the side its label names
When to use
- Profile previews on a person's name or avatar, with photo, handle, role and join date
- Feature, image and release note previews shown on hover or focus of a button or link
- Exact dates and times behind a short inline label, such as a relative deploy time in a sentence
When not to use
- Content opened by a click or tap, such as a form or settings to change: use the Popover component
- A one line label that names an icon button or a control: use the Tooltip component
- Content that stays visible in the page layout without a pointer over it: use the Card component
Agent notes
inline-startandinline-endare base twin values ofsidethat follow text direction; radix takes top, right, bottom or left only- Timing is
delayandcloseDelayon the baseHoverCardTriggerbutopenDelayandcloseDelayon the radixHoverCardroot - Without
renderon the base twin orasChildon radix,HoverCardTriggerrenders a link with no href, which Tab skips - The radix
HoverCardContentsets tabindex -1 on every link and button inside it, so keep keyboard actions outside the card
https://reui.io/components/hover-card/c-hover-card-2.mdget_example("c-hover-card-2")npx shadcn@latest add @reui/c-hover-card-2Shadcn Components in Hover Card Positions
About Shadcn Hover Card Positions
Hover card with positions. Built by composing Button, Hover Card. A free, open source shadcn hover card example you can install with npx shadcn@latest add @reui/c-hover-card-2 and edit as your own code.
What You Can Build With Shadcn Hover Card Positions
- Composes Button, Hover Card, so it drops into any project already using those components.
- Install it with the shadcn CLI: npx shadcn@latest add @reui/c-hover-card-2
- Open source and free, with the full source on this page to copy or adapt.
More Shadcn Hover Card Examples
- Basic Basic hover card.
- Profile Hover card with profile information.
- Icon Hover card with icon
- Image & Text Hover card with an image and text content.
- In Dialog Hover card inside a dialog.
- Live Timestamp Timestamp hover card with active relative time
- Release Notes Hover card with paginated release notes
Related Shadcn Component Categories
Open-source shadcn icon tile components for list row media, feature cards, empty states, and dashboard tiles.
Open-source shadcn input components for form entry, search fields, and auth screens.
Open-source shadcn input group components for prefixed inputs, suffixed actions, and combined form controls.
Open-source shadcn OTP input components for verification codes, 2FA flows, and secure confirmation screens.
Open-source shadcn item row components for list rows, settings items, and action rows.
Frequently Asked Questions
When should I use Shadcn Hover Card Positions?
Use it for a grid of outline triggers, one per placement, each opening its card on the side its label names.
Shadcn Hover Card as a whole fits:
- Profile previews on a person's name or avatar, with photo, handle, role and join date
- Feature, image and release note previews shown on hover or focus of a button or link
- Exact dates and times behind a short inline label, such as a relative deploy time in a sentence
For content opened by a click or tap, such as a form or settings to change, use the Popover component. For a one line label that names an icon button or a control, use the Tooltip component. For content that stays visible in the page layout without a pointer over it, use the Card component.
How do I install Shadcn Hover Card Positions?
Is Shadcn Hover Card Positions free to use?
Which components does Shadcn Hover Card Positions use?
Start building with ReUI Pro today.
Every Pro block, every style, and every future addition, with one license for unlimited projects.
From $249, once. Lifetime updates.