Dot Matrix
Text on a board of dots in a 5x7 font, the lit ones glowing and twinkling, whose numbers count up into view.
pixikit.com/docs/effects/dot-matrix
Customize
Count up
Duration1.6s
Dot size20px
Gap6px
Color
Off color
Glow
Twinkle
Props
10| Name | Type | Default | Description |
|---|---|---|---|
text | string | "40%" | What the board shows: letters, digits and common punctuation; long text wraps at spaces. |
countUp | boolean | true | Numbers in the text count up from zero when the board comes into view. |
duration | number | 1.6 | Seconds the count takes. |
dotSize | number | 20 | Each dot's size in pixels; the board shrinks to fit a narrower container. |
gap | number | 6 | The space between dots in pixels; it shrinks with the dots. |
color | string | "#2563eb" | The lit dots' colour. |
offColor | string | "color-mix(in oklab, var(--foreground) 8%, transparent)" | The unlit dots' colour. |
glow | boolean | true | A soft glow around the lit dots. |
twinkle | boolean | true | The lit dots fade in and out, out of step with each other. |
className | string | None |