Lisbon
12:00, 22 degrees, Sunny

Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initCardFolio(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-folioA card cut from three sheets of tinted paper, stacked like a browser window made of card stock, each with its own tab along the top edge. Press a tab and its sheet comes to the front: it rises and settles with a spring, the tabs re-stack in depth with the front one taking its sheet's paper and the others stepping back a shade, and the title, rule and picture arrive a beat apart.
Intermediate
Keyboard and screen readers
A section labelled Project folio holding a tablist of three native buttons with role tab, aria-selected and aria-controls, on a roving tabindex: Left and Right arrows, Home and End move and select. Each sheet is a tabpanel labelled by its tab; the two behind are aria-hidden and their content is not rendered visible. The focus ring is drawn round the tab label. Pictures are decorative (empty alt).
Reduced motion
The sheets and tabs change without transitions, the rise and the stagger.
Use it in anything you build, commercial and client work included. Licence
Lisbon
12:00, 22 degrees, Sunny
••••••••••••4821