Dot matrix loader preview

Dot matrix loader

A small LED-style grid of dots that light in a pattern while something loads.

  • Group
    Spinners
  • Origin
    Inspired · Original (this library)
  • License
    MIT
  • Added
    Oct 18
npx shadcn@latest add @deank/dot-matrix-loader

The registry stays private. Install from the repo with a GitHub token — see the README.

Usage

import { DotMatrixLoader } from "@/registry/components/dot-matrix-loader/dot-matrix-loader";

<DotMatrixLoader />

Props

PropTypeDefaultDescription
variant?DotMatrixVariant"wave"Animation pattern.
grid?number5Dots per side.
dot?number6Dot diameter, px.
gap?number3Gap between dots, px.
speed?number1.4Seconds per cycle.
color?string"currentColor"
label?string"Loading"
className?string

When to use

A distinctive LED-style loading indicator for technical or retro UIs.

When not to use

Inline text loading (bars-spinner is smaller).

Related

Bars spinner · Gooey loader