Clicker

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/button-clicker

About this component

A training clicker: the steel tongue snaps concave under your press with a sharp click ring and snaps back on release with a softer one, and the little counter window ticks up.

Dependencies
None
Difficulty
Beginner
Reduced motion
Respected
Theme
Light and dark
Follows page color-scheme

Triggers2

  • Click
  • State change

Techniques3

  • CSS transition
  • Keyframes
  • Gradient

Accessibility

Keyboard and screen readers

A native button whose label carries the count; the tongue and rings are aria-hidden.

Reduced motion

The rings do not animate.

Use it in anything you build, commercial and client work included. Licence

More buttons

See all
CrosswalkGet code
CrumpleGet code
DetonatorGet code
DoorbellGet code