Dither shader

Pro

An ordered Bayer dither that prints a built-in scene or your own canvas drawing as round riso dots, with paper fibre and misregistration, while the pointer drops ripples and opens a lens.

A recording of the component itself. With Pro you get its full source and it runs in your app.

What you get

  • Round-dot screen, paper fibre and ink misregistration
  • Dithers any 2D canvas you draw, frame by frame
  • Six ink palettes, two built from your theme
  • Ripple trail, click ripples and an auto ripple mode
  • One TypeScript file in your project, yours to edit. No runtime package.
  • Keyboard, screen reader and reduced motion support; light and dark; your shadcn theme.

Install

npx shadcn@latest add @goodui-pro/dither-shader

Needs a Pro license key in your registry config: two-minute setup. The file lands in components/goodui/dither-shader.tsx.

More Pro components

Fluid cursor

A WebGL fluid simulation behind any content: ink follows the pointer, swirls, mixes and fades, a press drops a ring of ink, and it keeps stirring while the pointer rests.

Pro

Mesh gradient shader

An animated mesh gradient drawn by one WebGL shader: five colour fields mixed in OKLab flow into each other under film grain, bend toward the pointer and ease from one preset to the next.

Pro

Hyperspace

A star field in real perspective that jumps to warp: stars stretch into comet streaks, the view widens and a glow lights the vanishing point while you hold, scroll or set the speed prop.

Pro