Skip to content
PixiKit

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
NameTypeDefaultDescription
textstring"40%"What the board shows: letters, digits and common punctuation; long text wraps at spaces.
countUpbooleantrueNumbers in the text count up from zero when the board comes into view.
durationnumber1.6Seconds the count takes.
dotSizenumber20Each dot's size in pixels; the board shrinks to fit a narrower container.
gapnumber6The space between dots in pixels; it shrinks with the dots.
colorstring"#2563eb"The lit dots' colour.
offColorstring"color-mix(in oklab, var(--foreground) 8%, transparent)"The unlit dots' colour.
glowbooleantrueA soft glow around the lit dots.
twinklebooleantrueThe lit dots fade in and out, out of step with each other.
classNamestringNone

Related