Deco
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/button-decoAbout this component
A black lacquer plaque with stepped corners, a double gold rule and a sunburst fanning up behind the letter-spaced label. Hover turns the rays and runs a gleam along the gold; a press dims the lacquer.
Triggers
- Hover
- Click
- Ambient
- Border
Techniques
- clip-path
- Conic gradient
- Keyframes
- CSS transition
Difficulty
Advanced
Accessibility
Keyboard and screen readers
A native button named by its label; the plate and rays are aria-hidden and :focus-visible draws an outline.
Reduced motion
The rays stop turning.
Use it in anything you build, commercial and client work included. Licence