What Dots Engine is, what you install, and where to start: the engine, its four renderers and 238 ready examples, each added with the shadcn CLI.
Get started · 1 min read
Prompt for your agent
Your agent reads /docs.md: the same text as this page, as Markdown.
Dots Engine is a dot matrix engine for React. You pick a pattern, and it draws as a grid of lit dots: loaders, progress, status marks and effects. It is free, and it installs with the shadcn CLI.
What you install
- The engine (
dot-matrix): oneDotMatrixcomponent with 34 built-in patterns, 7 layouts, 9 dot shapes and morphs between changes. - Renderers: canvas is the default. Install
dot-matrix-webgl,dot-matrix-svgordot-matrix-domwhen you need one of those. - Examples: every pattern on every layout as a ready component, such as
radar-circle. See them all on Examples.
The CLI copies the source into your project. You own the code: read it, change it and keep it. Nothing updates under you.
A first loader
import { DotMatrix } from "@/components/ui/dot-matrix/dot-matrix";
export function Thinking() {
return <DotMatrix pattern="orbit" lattice="circle" size={24} aria-label="Loading" />;
}Where to go next
- Installation: install the engine, a renderer or an example.
- Use with your AI agent: let Claude Code, Cursor, Codex and others install and use it for you.
- Dots engine: how a pattern becomes lit dots.
- API: every prop, with its type and default.
- Playground: try every option and copy the code.