Haze
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/button-hazeAbout this component
A button on hot asphalt: hover turns up the heat, the label wavers in a live heat shimmer, heat lines rise off the surface and a mirage of the label appears below; a press sinks it into the heat.
- Dependencies
- None
- Difficulty
- Advanced
- Reduced motion
- Respected
- Theme
- Light and dark
- Follows page color-scheme
Triggers2
- Hover
- Click
Techniques4
- SVG filter
- Filter
- Keyframes
- CSS transition
Accessibility
Keyboard and screen readers
A native button named by its label, Turn it up; the filtered copies are aria-hidden.
Reduced motion
The filter is dropped and the bands stay still.
Use it in anything you build, commercial and client work included. Licence