Shimmer Sweep
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/button-shimmer-sweepAbout this component
A skewed diagonal glare band slides across the button from left to right on hover. The glare is a semi-transparent white gradient on an absolutely-positioned span. The transition is one-shot on mouseenter (no reverse on mouseleave), giving a clean premium feel. No dependencies.
Triggers
- Hover
Techniques
- Transform only
- Gradient
Difficulty
Beginner
Accessibility
Reduced motion
Set transition to none and keep the glare hidden.
Use it in anything you build, commercial and client work included. Licence