Turn
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/button-turnAbout this component
A white paper tab with a dog-eared corner and coral type. Hover tips it back like a flap; pressing it turns the whole tab over to its coral back, which reads Copied, and it turns back after a moment.
Triggers
- Click
- Hover
- 3D
- State change
Techniques
- preserve-3d
- Perspective
- 3D transform
- clip-path
Difficulty
Intermediate
Accessibility
Keyboard and screen readers
A native button whose aria-label changes from "Copy link" to "Copied"; the paper faces are aria-hidden.
Reduced motion
The faces swap without the turn.
Use it in anything you build, commercial and client work included. Licence