Lisbon
12:00, 22 degrees, Sunny
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initCardFlap(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.
Needs a free account token. Get a token
npx shadcn@latest add @movin/card-flapA split-flap countdown board: days, hours, minutes and seconds on matte black flaps whose top halves fold down over the bottom halves with real perspective, while a glossy 3D rocket rides a rail toward its planet as the wait runs out. Press the board to roll over to the next event and every flap flips through to the new numbers.
Advanced
Keyboard and screen readers
A native button whose label gives the event and the days, hours and minutes left and says a press shows the next event; the board and rail are aria-hidden, and a visually hidden status line carries the event and the days and hours.
Reduced motion
The numbers change without the flip and the rocket jumps.
Use it in anything you build, commercial and client work included. Licence