Wash

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/slider-wash

About this component

A watercolour slider: a pencil line on cotton paper, a wet wash of ultramarine running into rose for the fill, and a round blot of pigment for the thumb that blooms outward while you hold it.

Triggers

  • State change
  • Fill
  • Gradient
  • Hover

Techniques

  • CSS variables
  • SVG filter
  • Radial gradient
  • mix-blend-mode

Difficulty

Advanced

Accessibility

Keyboard and screen readers

A native range input named "Wash" by aria-label, so arrow keys, Home and End work; everything drawn is aria-hidden. :focus-visible on the input outlines the thumb.

Reduced motion

The transitions and ambient animation are switched off and the thumb simply follows the value.

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

More sliders

See all
ZoomGet code
OverdriveGet code
TugGet code
DewGet code