Hover card with an image and text content.
For AI Agents
Hand your agent this brief or the ReUI MCP, not a screenshot. Free to install.
Best for: An edge to edge 16:9 picture across the top of a 320px wide card, captioned by a title and one line
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
- An image tile with its caption that stays on the page at all times: use the Card component
- 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
Agent notes
- The
imgloads a random grayscale picsum.photos image with alt Card Image; swap in your preview and a real description - 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-5.mdget_example("c-hover-card-5")npx shadcn@latest add @reui/c-hover-card-5Shadcn Components in Hover Card Image & Text
About Shadcn Hover Card Image & Text
Hover card with an image and text content. 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-5 and edit as your own code.
What You Can Build With Shadcn Hover Card Image & Text
- 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-5
- Open source and free, with the full source on this page to copy or adapt.
More Shadcn Hover Card Examples
- Basic Basic hover card.
- Positions Hover card with positions.
- Profile Hover card with profile information.
- Icon Hover card with icon
- 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 Image & Text?
Use it for an edge to edge 16:9 picture across the top of a 320px wide card, captioned by a title and one line.
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 an image tile with its caption that stays on the page at all times, use the Card component. 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.
How do I install Shadcn Hover Card Image & Text?
Is Shadcn Hover Card Image & Text free to use?
Which components does Shadcn Hover Card Image & Text 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.