Tread

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/slider-tread

About this component

A crawl-speed slider on a caterpillar track: the thumb is a road wheel that truly rolls along the belt of rubber pads, driving the belt back under it, the pads behind it are the lit fill, and pushing forward kicks grit off the back of the wheel.

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

Triggers3

  • State change
  • Click
  • Fill

Techniques4

  • CSS variables
  • Gradient
  • Keyframes
  • Transform only

Accessibility

Keyboard and screen readers

A native range input named Crawl speed with the speed as its value text; the drawing is aria-hidden.

Reduced motion

No grit flies.

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

More sliders

See all
VelcroGet code
WakeGet code
WeldGet code
ChocolateGet code