Tri-fold
Markup where the component goes, CSS in your stylesheet. No JavaScript.
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-trifoldAbout this component
A folded brochure showing its cover. On hover the right panel swings open, then the left, each shading as it turns away from the light, laying out three steps side by side; leaving folds it back up in reverse order. Pure CSS.
Triggers
- Hover
- Focus
- 3D
- Card
- Delay stagger
Techniques
- preserve-3d
- Perspective
- 3D transform
- Transition delay stagger
- Pseudo elements
Difficulty
Intermediate
Accessibility
Keyboard and screen readers
Focusable; keyboard focus unfolds it like hover.
Reduced motion
It opens without animation.
Use it in anything you build, commercial and client work included. Licence