Dither image
Ordered Bayer dithering quantized to the theme inks, or to two to four colors of your own.
npx shadcn@latest add https://www.ui95.dev/r/dither-image.jsonRun it in a Radix shadcn project that already has the UI95 theme.
DitherImage
| Prop | Type | Default |
|---|---|---|
| src * | string | - |
| alt * | string | - |
| width * | number | - |
| height * | number | - |
| pixelSize | number | 2 |
| matrixSize | BayerMatrixSize | 4 |
| contrast | number | 1.2 |
| isAnimated | boolean | false |
| colors | DitherImageColors | - |
Updated Nov 6, 2026