Arcade

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/button-arcade

About this component

A big domed arcade button in a chrome bezel: the dome's highlight follows your pointer like a lens, a press sinks the plunger into the bezel with a microswitch flash under the rim, and it springs back with a little overshoot.

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

Triggers3

  • Click
  • Mouse tracking
  • Glow

Techniques4

  • Radial gradient
  • Conic gradient
  • CSS variables
  • Mouse tracking

Accessibility

Keyboard and screen readers

A native button named "Start"; every drawn part is aria-hidden.

Reduced motion

The dome still sinks and returns, without the overshoot or the flash.

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

More buttons

See all
BrickGet code
BuzzerGet code
ChampagneGet code
Click penGet code