Flashstep

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/toggle-flashstep

About this component

A volt switch that flash-steps: switching on, the orb blinks across the track leaving afterimages, a sonic boom cracks at the landing and the track runs with current; off, it dashes back and the power snuffs out in smoke.

Triggers

  • Click
  • State change
  • Glow

Techniques

  • Keyframes
  • CSS variables
  • requestAnimationFrame
  • Transform only

Difficulty

Advanced

Accessibility

Keyboard and screen readers

A native checkbox with role="switch" named "Turbo"; focus outlines the track.

Reduced motion

It switches without effects.

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

More toggles

See all
IgniteGet code
AuraGet code
BeadGet code
CoilGet code