Glitch

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/slider-glitch

About this component

A datamosh slider on a dark scanline screen: a magenta-to-cyan bar made of thin slices, with a white block for a thumb. While you drag, the slices tear sideways, the colour channels split and dead pixels spark, then everything snaps back into register.

Triggers

  • State change
  • Fill
  • Neon
  • Keyframe

Techniques

  • CSS variables
  • Keyframes
  • Gradient
  • Stagger

Difficulty

Advanced

Accessibility

Keyboard and screen readers

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

Reduced motion

Nothing tears or blinks; the bar simply follows the value.

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

More sliders

See all
KintsugiGet code
KnitGet code
LamplightGet code
MoiréGet code