Once UI Blog
Builder stories
Posts
Once UI
What we built with Claude for Open Source
Once UI joins the Neon Open Source Program
Design tokens your agent can follow
How coding agents read the Once UI component catalog
AGENTS.md for design systems
What is an agentic design system?
Once UI 2.6: it thinks in a cube
Once UI Stack chat: an AI chat with a face
Once UI 2.5: reactions that move
Once UI 2.4: ready for AI apps
Once UI 3.0 beta: one way to say it
Stack languages: your app in Hungarian, or in two
Stack store: your shop on your own site
Liquid Metal: chrome that never sets
Chirio, redesigned
Styled screenshots in Chirio
Once UI 2.3: made for real apps
Frametic is now a video and capture studio
Agents write about 40% less code from Stack
Magic Portfolio, now on Once UI 2
Frametic MCP: let your agent film your site
Once UI Stack: your site as a desktop app
Once UI Stack, redesigned
Stack: teams and billing
Prism Glow: soft prism light behind your sign-in screen
Once UI for React Native: the same props on a phone
Once UI 2.2: chat, forms and mobile
Dither: your own image or video as a dithered print
Once UI 2.1: The pieces apps kept asking for
Once UI 2.0: A system an AI can build with
What made Once UI 2.0 possible
Once UI 2.0 alpha: Measured, not assumed
Colour arrives in pairs
Once UI 1.8: Polish as a feature
Once UI 1.7: Form with Intent
From products to systems: a new service model
Magic Journal: A different medium for long-form writing
Supa Social: The next milestone of our journey
Once UI is open source. Here's how we plan to keep it that way.
Designing a timeless, AI-native brand
Once UI 1.5: Curiosity in code
Once UI 1.4 migration guide: The breakpoint object
Launching in the AI-native era: A guide for indie builders
The first design system for indie builders
Builder Stories
Side and Once UI: From café website to reservation system
SatisPro and Once UI: Scaling smarter review management
IQON and Once UI: Scaling with a design system
Dev: Blending science and code with Once UI
JExcellence and Once UI: Turning experiments into enterprise apps
OsmyReal: Launching a platform for mobile gaming with minimal coding
TrademarkTrademark
Ctrl k
Search…
Sign up
Once UI Blog
Builder stories
Posts
Once UI
What we built with Claude for Open Source
Once UI joins the Neon Open Source Program
Design tokens your agent can follow
How coding agents read the Once UI component catalog
AGENTS.md for design systems
What is an agentic design system?
Once UI 2.6: it thinks in a cube
Once UI Stack chat: an AI chat with a face
Once UI 2.5: reactions that move
Once UI 2.4: ready for AI apps
Once UI 3.0 beta: one way to say it
Stack languages: your app in Hungarian, or in two
Stack store: your shop on your own site
Liquid Metal: chrome that never sets
Chirio, redesigned
Styled screenshots in Chirio
Once UI 2.3: made for real apps
Frametic is now a video and capture studio
Agents write about 40% less code from Stack
Magic Portfolio, now on Once UI 2
Frametic MCP: let your agent film your site
Once UI Stack: your site as a desktop app
Once UI Stack, redesigned
Stack: teams and billing
Prism Glow: soft prism light behind your sign-in screen
Once UI for React Native: the same props on a phone
Once UI 2.2: chat, forms and mobile
Dither: your own image or video as a dithered print
Once UI 2.1: The pieces apps kept asking for
Once UI 2.0: A system an AI can build with
What made Once UI 2.0 possible
Once UI 2.0 alpha: Measured, not assumed
Colour arrives in pairs
Once UI 1.8: Polish as a feature
Once UI 1.7: Form with Intent
From products to systems: a new service model
Magic Journal: A different medium for long-form writing
Supa Social: The next milestone of our journey
Once UI is open source. Here's how we plan to keep it that way.
Designing a timeless, AI-native brand
Once UI 1.5: Curiosity in code
Once UI 1.4 migration guide: The breakpoint object
Launching in the AI-native era: A guide for indie builders
The first design system for indie builders
Builder Stories
Side and Once UI: From café website to reservation system
SatisPro and Once UI: Scaling smarter review management
IQON and Once UI: Scaling with a design system
Dev: Blending science and code with Once UI
JExcellence and Once UI: Turning experiments into enterprise apps
OsmyReal: Launching a platform for mobile gaming with minimal coding
TrademarkTrademark
Once UIDocumentationBlog
© Once UI. All rights reserved.
Built with Aveiro
Effects

Dither: your own image or video as a dithered print

Dither is the 14th effect on once-ui.com/effects, and the first that takes your own content. It redraws any image or video in two to four colours, in Bayer, noise or halftone dots.
Updated 25 days ago
Once UI 2.2: chat, forms and mobile
Once UI 2.1: The pieces apps kept asking for
Dither is the 14th effect on once-ui.com/effects. The other thirteen are self-contained scenes: space, weather, the sea. Dither is the first one that takes your own content. Give it an image or a video, and it redraws it as a dithered print in two to four colours.
0:00 / 0:00

What it does

  • Three patterns. Bayer for the crisp, ordered grid of old screens, noise for a film-like grain, and halftone for print dots.
  • Your palette. Two to four colours. Theme tokens work, and so does transparent, so the page can show through the shadows.
  • A band of light sweeps through the image, and a lens under the pointer shows the original in full colour.
  • An entrance. On first sight it resolves from coarse blocks to fine grain.
  • No source needed. Without a src, it dithers a flowing gradient field, so it works as a section background on its own.

How to use it

Every effect is a single React component with no setup. Pro members copy the source straight from the effect's dialog:

How it is built

Dither is one WebGL 2 fullscreen pass with no dependencies. It follows the same structure as the other effects: colours are resolved from your CSS, it follows theme changes, and its loop sleeps when the effect is paused, scrolled off screen, or showing a still image with nothing left to animate. So a dithered hero costs nothing once it has settled.
Try Dither on once-ui.com
Share
import { Dither } from "@/components/effects/Dither";

export function Hero() {
  return (
    <Column fillWidth height={40} radius="l" overflow="hidden">
      <Dither src="/images/hero.jpg" pixelSize={3} />
    </Column>
  );
}

// Halftone dots in your theme, with the page showing through the shadows:
<Dither
  src="/videos/reel.mp4"
  pattern="halftone"
  colors={["transparent", "var(--brand-on-background-medium)"]}
/>

// No src: a flowing gradient field, dithered, as a section background:
<Dither colors={["var(--neutral-background-strong)", "var(--brand-solid-medium)", "#ffffff"]} />