Velvet
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/button-velvetAbout this component
A crushed-velvet plaque with a piped edge: the pointer brushes the nap and leaves a lighter trail that slowly relaxes back, and a press pushes the whole pile dark for a moment.
- Dependencies
- None
- Difficulty
- Beginner
- Reduced motion
- Respected
- Theme
- Light and dark
- Follows page color-scheme
Triggers2
- Hover
- Mouse tracking
Techniques3
- CSS transition
- Gradient
- mix-blend-mode
Accessibility
Keyboard and screen readers
A native button named "Reserve"; the bands are aria-hidden.
Reduced motion
The nap changes without transition.
Use it in anything you build, commercial and client work included. Licence