Stash
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initCardStash(el) on the mounted element instead.
Paste into Claude, ChatGPT or Cursor after filling in {{USER_STACK}}, {{USER_STYLING}} and {{USER_CONSTRAINTS}}. Neutral keeps the greys you see here; Match my project asks the model to map them onto your own colour tokens.
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/card-stashAbout 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 allSignups
Last 8 weeks
4,812+18%
- Week 6: launch week, the peak.
- Week 3: outage.
Oban → Craignure
Walnut · bellows in good order