Hover Card
A rich preview popover triggered by hovering over a link or entity, displaying summary metadata and light actions without navigating away
Table of Contents
Interactive Playground
Tap or drag to interact with the demoWhat is Hover Card?
A rich preview popover triggered by hovering over a link or entity, displaying summary metadata and light actions without navigating away. It is a core concept in UI Components within UI / UX.
Core Principles
A Hover Card (or Preview Card) bridges the gap between a plain Tooltip and a click-triggered Popover. Like a tooltip, it opens on pointer hover; like a popover, it can render structured layouts—avatars, metadata, summaries, and light actions such as Follow.
It eliminates constant back-and-forth navigation when scanning feeds, mentions, or dense documentation.
Practical Takeaways
- Tune open and close intent delays: Without an
openDelay(typically 250–400ms), cards flash annoyingly as the cursor crosses the screen. Pair it with acloseDelay(150–300ms) so users can glide the pointer from the trigger onto the card without it vanishing. - Treat hover as progressive enhancement: Touchscreens lack hover and keyboard users rely on focus. Never trap critical information exclusively inside a hover card—ensure clicking the trigger navigates to the full destination.
- Cache remote previews: If card contents are fetched asynchronously, show a lightweight skeleton on the first hover and cache the response so subsequent peeks feel instantaneous.
Notable Examples
- GitHub & X profile cards: Hovering over an
@handlereveals bio, follower count, and a quickFollowbutton. - Wikipedia & Notion link previews: Peeking at a linked article's opening summary and thumbnail without leaving the current page.
- Issue & calendar previews: Hovering an issue ID (
ENG-402) to inspect status, assignee, and due date inline.