Acid

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/slider-acid

About this component

An etch-depth slider on a brushed steel bar: the fill is where the acid has bitten in, sunken, matte and pitted, darker the deeper it goes. At the thumb, the drop of acid, the etch front fizzes with bubbles, thicker and faster as the depth climbs.

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

Triggers3

  • State change
  • Ambient
  • Fill

Techniques4

  • Radial gradient
  • Keyframes
  • CSS variables
  • Stagger

Accessibility

Keyboard and screen readers

A native range input named Etch depth with micrometres as its value text; the bar is aria-hidden.

Reduced motion

No bubbles rise.

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

More sliders

See all
ArcGet code
BearingGet code
BulbsGet code
ButterGet code