Glowstick

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/button-glowstick

About this component

A glow stick as the button: press to crack it, the tube bends, the glass ampoule snaps, the glow spreads out both ways from the crack and a shake mixes it bright; it burns for a while and fades.

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

Triggers3

  • Click
  • Glow
  • State change

Techniques4

  • Keyframes
  • CSS transition
  • Radial gradient
  • SVG

Accessibility

Keyboard and screen readers

A native button whose label follows the state (Light up, then Glowing).

Reduced motion

The glow appears without spreading or shaking.

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

More buttons

See all
GongGet code
GuillocheGet code
HazardGet code
HazeGet code