Tile Flip
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/button-tile-flipAbout this component
The surface is a 12x4 grid of tiles. Entering flips them over in a wave that spreads from the exact point the cursor came in, each tile turning about the axis facing away from it; leaving flips them back from where it left. The label turns dark as the wave passes.
Triggers
- Hover
- 3D
- Delay stagger
Techniques
- 3D transform
- Perspective
- Transition delay stagger
- Event position
- Pseudo elements
Difficulty
Intermediate
Accessibility
Keyboard and screen readers
Tiles are aria-hidden. Keyboard focus flips the grid from its centre.
Reduced motion
The tiles and label switch without transitions.
Use it in anything you build, commercial and client work included. Licence