Loading
Loading
Loading
mobile footer

Build the Interaction Layer Your Website is Missing.

Browse All EffectsBrowse All EffectsBrowse All EffectsUpgrade to ProUpgrade to ProUpgrade to Pro

80+ effects free, forever. No credit card.

© 2026 Hyperiux. All Rights Reserved.

AI Component CatalogueHey AI, Learn About Us
Platform

Vault

  • Documentation
  • Pricing
  • Blog
  • Community
  • NPM
  • MCP

Categories

  • All Effects
  • WebGL
  • Text
  • Backgrounds
  • Buttons
  • Carousels
  • Scroll
  • Components
  • Navigation
  • Cursor
  • Transitions
  • Loaders

Documents

  • Introduction
  • Installation
  • CLI
  • Dependencies
  • License

Legal

  • License Agreement
  • Terms of Service
  • Privacy Policy
  • Refund Policy
Socials
  • Twitter / X
  • LinkedIn
  • GitHub
  • Instagram
Contact Us
  • hello@hyperiux.com
New effects, in your inbox

Every new drop, plus the occasional behind-the-scenes build. No spam. Unsubscribe anytime.

Loading
Home/Hover Card Component

Hover Card Component

An animated hover card with rich website previews, smooth scale and fade transitions, pointer-following movement, and responsive link interaction

@base-ui/reactclass-variance-authoritylucide-reactmotiontailwind-merge
DemoDemoDemo

Tune the Real Props

Overview

Hover Card shows a compact preview of a link’s title, description, and image, either fetched from the website or supplied manually. It scales or fades in after a short delay, its content fades in separately, it can drift with the pointer, and an animated underline marks the active link.

Use it when users may want to check a destination before leaving the page, such as article references, resource lists, and learning platforms. The preview should feel tied to its link while staying readable and easy to dismiss.


Theme and Interaction Customisation

Choose Website preview or Manual details as the content source and set the card’s roundness. Interaction settings include Scale + fade or Fade opening, Start scale, Fade content, Open after and Close after delays, Follow the pointer, and Underline draws in.


Example Production Use Case

A technical blog can add Hover Card to reference links, so readers see a documentation page’s title, summary, and image before deciding whether to leave the article.

A curated tools directory can use website previews on each entry, helping visitors compare resources at a glance while the plain links still work normally.

An agency portfolio can use manual details to preview related case studies, controlling exactly what each card says instead of relying on site metadata.


Best Used For

  • Editorial websites with external references.
  • Resource directories.
  • Educational platforms.
  • Developer documentation.
  • SaaS knowledge bases and workspaces.
  • Content discovery and reading lists.
  • Agency and portfolio websites.

Not For

Links that already make their destination clear don’t need previews, and adding them everywhere becomes noise.

Never put essential instructions or warnings only in a hover card, since touch, keyboard, and screen-reader users may miss it.

Interactive content belongs in a Popover or Dialog, and unreliable metadata or strict privacy needs suit manual details or a simple linked card better.


Performance Budget

Use efficient scale and fade transitions and keep pointer drift local to the active card. Avoid fetching metadata on every brief hover, cache and deduplicate requests, handle timeouts and missing images gracefully, and keep inactive previews unmounted.


Accessibility and Mobile

The link text must make sense without the preview, and any essential preview content needs an accessible route. Let users move onto the card without it closing, keep it open long enough to read, and support Escape to dismiss. On mobile, keep the link working by tap, offer a tap preview if the information matters, and fit the card in narrow viewports. With reduced motion, remove scaling and pointer drift.


Common Mistakes

  • Assuming every website supports previews.
  • Expecting the Website field to work when source=“text”.
  • Setting Start scale with fade-only entrances.
  • Opening on every incidental hover.
  • Closing before users can reach the card.
  • Making pointer following too strong.
  • Fetching arbitrary URLs without security checks.
  • Rendering untrusted metadata as HTML.
  • Relying on hover for essential information.
  • Ignoring mobile behaviour.
  • Overanimating the entrance.
  • Leaving empty or broken cards when previews fail.

Changelog

v1.0.0

Oct 23, 2026
Initial release

API Reference

PropTypeDefaultDescription
themestringvalorantColour palette, card included. Its primary colour fills the card's button.
modestringdarkLight or dark version of the palette. Starts dark.
sitestringvault.hyperiux.comWebsite the card previews. Needs Card shows set to Website preview.
sourcestringlinkWhat the card shows: a preview of the website or manually written details.
contentAnimationstringscaleHow the card appears: scales and fades, or only fades.
startScalenumber0.9Size the card starts from when it opens, as a fraction of full size.
fadeContentbooleantrueFades the card contents in as it opens.
openDelaynumber0.7How long you hover before the card opens, in seconds.
closeDelaynumber0How long after leaving before the card closes, in seconds.
followCursorbooleantrueThe card follows the pointer instead of staying put.
underlinebooleantrueThe link underline draws in on hover.
roundedstringmdCorner radius of the card.

Questions, Answered.

What is Hover Card?

Hover Card is an animated React component that shows a floating preview when users hover over a link, using fetched website details or manually supplied content.

How is Hover Card different from a standard tooltip?

A tooltip briefly explains a control. Hover Card shows richer information about a linked destination, including a title, description, and image.

What website information can Hover Card display?

It displays the destination’s title, description, and image to build a preview.

What happens when a website blocks previews?

The application should fall back gracefully, using available information or manually supplied details instead of an empty card.

Is automatic website previewing secure?

It can be, but server-side fetching must validate destinations, block unsafe network access, restrict redirects, and handle external content safely.

Does Hover Card work on mobile devices?

Hover isn’t available on many touch devices, so links must stay usable and important preview content needs another access method.

View MoreView More

Request a Custom Animation

Need a custom effect? Tell us what to create.

Related Effects

Explore All EffectsExplore All EffectsExplore All Effects
Table Component
@base-ui/reactclass-variance-authoritygsap

Table Component

Components

Input OTP Component
@base-ui/reactclass-variance-authorityinput-otp

Input OTP Component

Components

Dropdown Menu Component
@base-ui/reactclass-variance-authoritygsap

Dropdown Menu Component

Components

All Effects
Featured ComponentsText AnimationsAnimated BackgroundsAnimated ButtonsCarousel EffectsScroll EffectsCreative ComponentsNavigationsCursor EffectsTransitionsLoadersWebGL & 3D Effects
Templates
IntroductionInstallationCLIDependenciesLicense
PricingBlogGithubNPMMCP Doc