Smoke

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/slider-smoke

About this component

A smoke slider whose thumb is a smouldering ember: smoke curls up off it all the time, thicker and faster as the value climbs, and dragging leaves a trail of puffs drifting up from where it has been; the fill is soot.

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

Triggers3

  • State change
  • Ambient
  • Glow

Techniques4

  • Keyframes
  • CSS variables
  • Filter
  • Event position

Accessibility

Keyboard and screen readers

A native range input named Smoke; the smoke is aria-hidden.

Reduced motion

There is no smoke and the ember does not pulse.

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

More sliders

See all
ToothpasteGet code
TreadGet code
VelcroGet code
WakeGet code