Split-Flap
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/button-split-flapAbout this component
An airport departures board. Each letter is a split-flap tile; on hover the tiles flip left to right through a few random characters on hinged leaves before landing on the next label, and flip back when the cursor leaves. Interrupting mid-flip retargets cleanly.
Triggers
- Hover
- Focus
- 3D
- Delay stagger
Techniques
- 3D transform
- Perspective
- Stagger
- Text animation
- State machine
Difficulty
Advanced
Accessibility
Keyboard and screen readers
The button carries an aria-label with the real label and the tiles are aria-hidden. Keyboard focus flips it like hover.
Reduced motion
Letters change instantly.
Use it in anything you build, commercial and client work included. Licence