Cards
Card Shuffle Stack
Card Shuffle Stack: A fanned stack of panels that cycles on a timer: the front panel drops away, the rest step forward, and the dropped one swings in at the back.
Using Card Shuffle Stack
Card Shuffle Stack uses the card preview frame with a dark theme setting.
Customize the preview
These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.
| Control | Type | Default | Preview limits |
|---|---|---|---|
stepX | number | 50 | From 20 to 100; step 2 |
stepY | number | 55 | From 20 to 110; step 5 |
delayMs | number | 3500 | From 1500 to 8000; step 250 |
skew | number | 6 | From 0 to 14; step 1 |
motionStyle | select | spring | Options: spring, eased |
accent | color | #FF6A1F | No additional limit in the metadata. |
Which frameworks are available for Card Shuffle Stack?
Card Shuffle Stack is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.
What does Card Shuffle Stack depend on?
The React metadata lists these npm dependencies beyond React: motion.
What accessibility details are visible in Card Shuffle Stack?
The React source for Card Shuffle Stack includes: attributes and handlers (aria-hidden, aria-label); explicit roles (group). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Card Shuffle Stack handle reduced motion?
Card Shuffle Stack reads the motion preference in its React source through useReducedMotion(). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.