Documentation

  • 312 sections
  • Solid
  • Tailwind or StyleX

Styling

Composition

Seeds

Motion

Entrances draw the dither field in; bump replayToken to run one again. When the OS asks for reduced motion, entrances snap and sparkles hold still. No opt-in needed.

Live-edge motion

The live edge isn't a preset. It's a point in a continuous space of motion (drift, gravity, twinkle, trail, flow) AND particle shape (a generated glyph: dot, plus, x, streak, asterisk). A dedicated effect seed samples one of infinitely many; roll for a fresh one.

Line chart: signal
effect: 7
animate
Typeboolean Defaulttrue
effect
Typenumber (its own edge-motion seed) Defaultseed / sparkle
animationDuration
Typenumber (ms) Defaultseed / 900
animationDelay
Typenumber (ms) Defaultseed / 0
replayToken
Typenumber (bump it to re-run) Default0
Add it to your project
One line copies Bar, BarChart, DitherButton, XAxis and every kit file they need into your project, in the styling system picked in the header.
curl -fsSL https://dither-ui.com/add/dither-add.mjs | node --input-type=module - add Bar BarChart DitherButton XAxis

Accessibility