Stash

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/card-stash

About this component

A dark folder with three files peeking out over a drifting aurora: press it and the front file lifts out and drops to the back of the stack, the next one slides forward, and the page dots on the folder follow along.

Triggers

  • Click
  • State change
  • Card
  • Ambient

Techniques

  • Keyframes
  • Radial gradient
  • CSS transition
  • State machine
  • SVG

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

One native <button> holds the whole card, named by visually hidden text ("Show the next file"); the drawing is aria-hidden and :focus-visible outlines the card.

Reduced motion

The transitions and loops stop and the card jumps straight to its final state.

Use it in anything you build, commercial and client work included. Licence

More cards

See all
Folder colour
TintGet code

Signups

Last 8 weeks

4,812+18%

AcetateGet code
FERRYNo. 2291

Oban → Craignure

Dep 14:00 · Pier 2£7.20
AfloatGet code
Field camera 4×5£640

Walnut · bellows in good order

Ships in 2 days
BellowsGet code