Flash
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/button-flashAbout this component
A vintage flash unit with a silvered dish: press and the bulb flares white across the stage, the label lingers as a negative afterimage that fades, the spent bulb goes grey and a fresh one clicks in before READY lights.
- Dependencies
- None
- Difficulty
- Intermediate
- Reduced motion
- Respected
- Theme
- Light and dark
- Follows page color-scheme
Triggers3
- Click
- Glow
- State change
Techniques4
- Keyframes
- Radial gradient
- mix-blend-mode
- State machine
Accessibility
Keyboard and screen readers
A native button named "Flash", renamed while the bulb is changed.
Reduced motion
The burst and afterimage are skipped and the bulb simply changes state.
Use it in anything you build, commercial and client work included. Licence