Bubble

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/button-bubble

About 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

More buttons

See all
SapphireGet code
LiquidGet code
RippleGet code
SageGet code