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/Depth Card Stack

Depth Card Stack

A 3D card carousel that fans ten membership-style cards into a layered stack, swings the front card away on each change, autoplays every five seconds, and tilts the front card towards the cursor.

GSAPLucide-react
DemoDemoDemo

Tune the Real Props

Overview

Depth Card Stack shows one card at the front with two cards fanned out on each side behind it; the rest are hidden until they rotate in. Each change swings the front card sideways in 3D while the others slide into their new slots.

Use Depth Card Stack for a showcase of collectible or membership-style cards, such as early-access passes. The ten cards, the section heading and the "claimed" caption under the stack are hard-coded in the component, so edit the cards array in the source to change them; the props only control timing and the pointer effect.

The main risk is treating it like a content list: only five cards are visible at a time, the rest are hidden, and the stack advances on its own every five seconds unless the cursor is over the front card. Card text is plain paragraphs with no headings or links, and on mobile the same 3D stack stays, with the prev/next buttons moved below it.


Usage Code

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

Example Production Use Case

A product launch page can use Depth Card Stack to show early-access membership passes, each with a name, colour, join date and member number, cycling automatically while a caption below names who claimed the current card. The cards are display pieces: they contain plain text only, with no headings or links, so put sign-up actions and details in ordinary content beside the stack.


Best Used For

  • Showcasing collectible, membership or pass-style cards where a layered 3D stack adds a sense of craft.
  • Hero or feature sections where an autoplaying carousel with prev/next controls suits the page.
  • Desktop moments where a cursor-driven tilt and texture highlight on the front card invites interaction.

Not For

Not for long comparison sets, dense pricing matrices, or card groups where users need to scan every item quickly.


Performance Budget

The stack animates transforms and opacity with GSAP, and the pointer tilt updates the front card only. All ten cards stay mounted and each loads a texture image, so if you add more cards, keep texture files small; the autoplay interval keeps running while the section is offscreen.


Accessibility and Mobile

Card text is plain paragraphs with no headings, links or focusable elements, so the cards are read in source order but cannot be focused. The prev/next buttons are real buttons with aria-labels. On mobile (640px and below) the same overlapping 3D stack stays at full width, with larger prev/next buttons below it; there is no swipe gesture.


Common Mistakes

  • Putting essential content on cards that sit hidden in the stack most of the time.
  • Expecting visitors to read a card before autoplay moves it on after five seconds.
  • Adding links inside cards without also adding a way to pause autoplay for keyboard users.

Changelog

Added reduced-motion support.
Initial release

API Reference

PropTypeDefaultDescription
durationnumber0.55Card navigation transition duration.
mouseInteractionbooleantrueEnables pointer tilt and texture reveal on the active card.
lerpnumber0.18Pointer-follow smoothing amount; higher values track faster. Needs Mouse Interaction on.
smoothnessnumber0.4Hover enter/leave smoothing duration for card tilt and texture reveal. Needs Mouse Interaction on.

Questions, Answered.

When should I use Depth Card Stack?

Use it when a set of membership, pass or collectible-style cards should cycle through a layered 3D stack, either on its own every five seconds or with the prev/next buttons.

What accessibility details matter for Depth Card Stack?

The prev/next controls are buttons with aria-labels, but the cards themselves are plain text with no headings or focusable elements, and the stack autoplays every five seconds with no pause control beyond hovering the front card. If the cards must carry real content, add headings, links and a pause button in your copy of the source.

How should Depth Card Stack behave on mobile?

It keeps the same overlapping 3D carousel, sized to the screen width, and moves larger prev/next buttons below the stack. There is no swipe gesture or vertical layout, and the hover tilt does not apply to touch.

Can Depth Card Stack show my own cards?

Yes, by editing the cards array in the component source: each entry has a name, member number, join date, colour, caption text and texture image. There is no cards prop, and the card layout itself ("hero", "Early Access", Joined, Member) is fixed in the markup.

What should reduced motion do for Depth Card Stack?

With reduced motion, the pointer tilt and texture reveal are switched off, and each card change still plays the swing transition, shortened to 0.15 seconds. Autoplay keeps advancing every five seconds.

Request a Custom Animation

Need a custom effect? Tell us what to create.

Related Effects

Explore All EffectsExplore All EffectsExplore All Effects
Infinite Carousel
Pro
GSAPLucide-react

Infinite Carousel

Carousels

Progressive Bloom Valley
Pro
Three.jspostprocessing@react-three/drei

Progressive Bloom Valley

WebGL

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

Hyperiux Glitter

WebGL

Draggable Canvas
Pro
GSAP

Draggable Canvas

WebGL

Fish Eye Cursor
Pro
Three.js@react-three/drei@react-three/fiber

Fish Eye Cursor

Cursor