Sitewright

Dither veil

A drifting noise veil quantised through an ordered 8x8 dither into crisp brand-coloured dots, densest on one edge and thinning around the pointer.

What it is for

Overlay on a hero or card edge to fade content into texture (transparent canvas; fills its parent, put above the backdrop and below the text).

Use it

1 · site.json
"effects": { "components": ["dither-veil"] }
or on the command line
node ~/.claude/skills/sitewright/scripts/scaffold.mjs --config site.json --out ./my-site --components dither-veil
2 · import it
import { DitherVeil } from '@/components/fx/ui';

Files

  • components/fx/ui/DitherVeil.tsx
  • components/fx/ui/_t1.ts
  • ui-dither-veil.css styles

Source

Original to Sitewright. MIT licensed.

Credits and licences: third-party notices.

Accessibility

  • Keyboard. Components in the kit are written to be reached and used with the keyboard. Try it: press Tab inside the preview.
  • Reduced motion. With prefers-reduced-motion on, animation settles to its finished state at once.
  • Touch. Pointer-follow effects are skipped on touch screens; controls stay finger-sized.