Tri-fold

01PlanSketch the flow
02BuildMake it move
03ShipWatch it land
Field GuideHover to open
No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/card-trifold

About 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

More cards

See all
Aurora
Floating light blobs
AuroraGet code
Border Glow
Conic gradient spin
Border GlowGet code
Front
Hover to flip
✦
Back side
Revealed!
FlipGet code