Buzzer
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/button-buzzerAbout this component
A quiz lock-in buzzer: the first press slams it down, the lamp lights, rings spread from it and it locks so no second press counts, then it releases itself a couple of seconds later for the next question.
- Dependencies
- None
- Difficulty
- Intermediate
- Reduced motion
- Respected
- Theme
- Light and dark
- Follows page color-scheme
Triggers3
- Click
- State change
- Glow
Techniques4
- Keyframes
- CSS transition
- Radial gradient
- State machine
Accessibility
Keyboard and screen readers
A native button with aria-pressed while locked and a label that changes to "Buzzed in, locked".
Reduced motion
The rings sit still at mid size and the plunger moves without easing.
Use it in anything you build, commercial and client work included. Licence