Getting Started
Templates
Components
Special Effects
Animations
Text Animations
Backgrounds
An ordered-dither field that follows your theme, your brand colors and your pointer.
import { DitherField } from "@/components/ui/dither-field"<DitherField className="h-96">
<h1>Your content</h1>
</DitherField>| Prop | Type | Default | Description |
|---|---|---|---|
pattern | string | "horizon" | One of horizon, glow, aurora, waves or clouds |
src | string | - | Image or video URL to dither instead. Remote files must allow CORS |
color | string | string[] | "currentColor" | A CSS color, or a [low, mid, high] ramp from dim to bright dots |
dotSize | number | 1 | Size of one dot in CSS pixels |
intensity | number | 0.75 | Brightness of the field |
speed | number | 1 | Animation speed. 0 holds a still frame |
fps | number | 30 | Maximum frames per second |
interactive | boolean | true | Brighten the dots under the pointer |
horizonglowaurorawavescloudsEvery branch gets a URL the moment you push.
Static assets served from 300 cities.
Go back to any deploy in one click.
Ink on paper
Chalk on slate
Sodium
Glacier