Reed

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/slider-reed

About this component

A slider in a bar of fluted glass over a sunset gradient: the reeds slice and smear the colour everywhere except under the thumb, a clear glass lens that magnifies the exact edge where the colour stops, sharp, as you drag it along.

Triggers

  • State change
  • Gradient

Techniques

  • CSS variables
  • Gradient
  • Radial gradient
  • Filter

Difficulty

Advanced

Accessibility

Keyboard and screen readers

A native range input (aria-label "Glow") laid over the drawn track at zero opacity, so dragging, clicking, keys and screen readers all work as usual; the drawing is aria-hidden and :focus-visible outlines the thumb.

Reduced motion

The transitions and loops stop and the component jumps straight to its final state.

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

More sliders

See all
VolumeGet code
WarmthGet code
AcidGet code
ArcGet code