Terrazzo
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/button-terrazzoAbout this component
A polished slab of pale stone set with chips of coral, teal, mustard and ink. On hover the chips slide a little as the slab tilts to the light and a polish line crosses it; a press sets it down.
Triggers
- Hover
- Click
- Ambient
Techniques
- Radial gradient
- Pseudo elements
- Keyframes
- CSS transition
Difficulty
Intermediate
Accessibility
Keyboard and screen readers
A native button named by its label, with a :focus-visible outline.
Reduced motion
The polish line stops and the chips do not slide.
Use it in anything you build, commercial and client work included. Licence