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

70+ 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.

All Effects
Featured ComponentsText AnimationsAnimated BackgroundsAnimated ButtonsCarousel EffectsScroll EffectsCreative ComponentsNavigationsCursor EffectsTransitionsLoadersWebGL & 3D Effects
Templates
IntroductionInstallationCLIDependenciesLicense
PricingBlogGithubNPMMCP Doc
Loading
Home/effects/Hover Stack

Hover Stack

A fanned, overlapping stack of quote cards where hovering a card lifts and straightens it while its neighbours slide aside.

Vanilla JS
DemoDemoDemo

Tune the Real Props

Border Color

Border color shown around the active card. Transparent by default.

Overview

Hover Stack adds motion to a component that already has a job: cards respond to hover with depth.

Use Hover Stack when a short group of cards should feel playful on exploration. Each built-in card holds a quote, an "Explore" label, and a number; the cards overlap and tilt at rest, so a card's full text is easiest to read once it is hovered and lifted to the front.

The main risk is overlap. At rest the cards cover part of each other by design, and the interaction is mouse-only. Below 1025px wide the component swaps to a plain vertical column of cards, so phones and tablets get readable cards without hover.


Usage Code

page
1import HoverStack from '@/components/effects/hover-stack'2 3const page = () => {4  return (5    <>6      <HoverStack />7    </>8  )9}10 11export default page

Example Production Use Case

An agency page can use Hover Stack for a row of client quotes. Hovering a card lifts it, straightens it, and pushes the others aside so it can be read in full. The cards are content blocks, not links, so any call to action should sit outside the stack.


Best Used For

  • Service and proof-card groups where depth on hover makes exploration feel crafted.
  • Desktop sections that switch to a normal column of cards below 1025px wide.
  • Card groups where hover depth adds craft while the non-hover state remains complete.

Not For

Not for mobile-first sections, dense comparison cards, or content where hover depth hides information users need to compare.


Performance Budget

Animate transform and shadow with restraint, keep layers small, and avoid large blur or filter effects on the whole card group.


Accessibility and Mobile

The cards are non-focusable divs that react only to mouse enter and leave, and they contain no links, so keyboard users get no lift; keep any action in links outside the stack. Below 1025px wide the stack is replaced by a plain column of cards. With reduced motion, a hovered card is only raised to the front, with no lift, push, or rotation change.


Common Mistakes

  • Letting hover depth cover neighbouring card links.
  • Assuming keyboard users get the lift: there is no focus handling, so add it yourself if cards become interactive.
  • Using hover to reveal required copy.

Changelog

Added reduced-motion support and configurable stack controls.
Initial release

API Reference

PropTypeDefaultDescription
cardWidthnumber280Width of each card in pixels.
cardHeightnumber360Height of each card in pixels.
overlapnumber96Horizontal overlap between resting cards in pixels.
pushDistancenumber235Distance neighboring cards are pushed aside on hover.
hoverLiftnumber30Vertical lift applied to the hovered card in pixels.
spreadnumber24Distance cards spread while hovered.
rotationnumber7Rotation amount applied to stacked items.
durationnumber0.35Hover animation duration.
borderColorcolortransparentBorder color shown around the active card. Transparent by default.

Questions, Answered.

When should I use Hover Stack?

Use it when a card group needs items responding to hover with depth.

How should Hover Stack handle focus and links?

The built-in cards are plain divs with no links and no focus handling; only mouse hover activates them. If you need a link, place it outside the stack, or add focusable elements and focus handling to the cards yourself so the lift also works from the keyboard.

How should Hover Stack simplify on mobile?

It does this already: below 1025px wide the stack is replaced by a single column of full-width cards with no overlap or hover behaviour, so touch users can read every quote.

Can Hover Stack improve service-card browsing?

Yes, when depth makes a small card group feel more crafted. It becomes noise when the card copy, links, or focus states are harder to scan.

What should reduced motion do for Hover Stack?

With reduced motion, the fanned layout stays, but hovering a card only brings it to the front: there is no lift, push, scale, rotation change, or transition.

Request a Custom Animation

Need a custom effect? Tell us what to create.

Related Effects

Explore All EffectsExplore All EffectsExplore All Effects
Depth Card Stack
Pro
GSAPLucide-react

Depth Card Stack

Carousels

Hover Slider
Pro
Three.jsGSAP

Hover Slider

WebGL

Hyperiux Glitter
Pro
Three.js@react-three/fiber@react-three/drei

Hyperiux Glitter

WebGL

Interactive List Preview
GSAP

Interactive List Preview

Components

Inertia Image
Pro
GSAP

Inertia Image

Cursor