Liquid
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/button-liquidAbout this component
A clear liquid glass button with an iridescent rim: a soft highlight follows the pointer across the glass, a sparkle turns in at the corner on hover, and the pill gives a little when pressed.
Triggers
- Hover
- Mouse tracking
- Click
Techniques
- Mouse tracking
- Radial gradient
- CSS variables
- CSS transition
- SVG
Difficulty
Intermediate
Accessibility
Keyboard and screen readers
A native <button> with its visible label; the highlight and sparkle are aria-hidden decoration.
Reduced motion
The transitions and loops stop and the component jumps straight to its final state.
Use it in anything you build, commercial and client work included. Licence