Bubble
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/button-bubbleAbout this component
A round soap bubble button for voice: a thin film of colour swirls slowly round its rim; pressing it starts recording, the film spins faster, the mic turns rose and rings pulse out until you press again.
Triggers
- Click
- State change
- Loop
Techniques
- Conic gradient
- Keyframes
- CSS transition
- SVG
Difficulty
Advanced
Accessibility
Keyboard and screen readers
A native <button> whose aria-label switches between "Record voice note" and "Stop recording"; the film and rings are aria-hidden.
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