---
name: dots-engine
description: "Find and install Dots Engine components (dot matrix, examples) from its free shadcn registry. Use when the user asks for one of them in a React project, or to install, update or use an item from @dots-engine."
---

# Dots Engine

Free dot matrix loaders for React and AI interfaces: 34 patterns, 7 layouts and 9 dot shapes on one engine. Install any of them with the shadcn CLI.

## Install an item

Run the shadcn CLI in the project root with the project's own package runner. The URL form needs no setup:

```bash
bunx --bun shadcn@latest add https://dotsengine.dev/r/dot-matrix.json
npx shadcn@latest add https://dotsengine.dev/r/dot-matrix.json
pnpm dlx shadcn@latest add https://dotsengine.dev/r/dot-matrix.json
```

To install by name (`@dots-engine/dot-matrix`) and to search the registry from the CLI or the shadcn MCP server, add it to `components.json` once:

```json
{
  "registries": {
    "@dots-engine": "https://dotsengine.dev/r/{name}.json"
  }
}
```

The CLI copies the source into the project: read the installed files before using them, and keep the project's own imports and styles.

## Use the engine

`dot-matrix` installs to `dot-matrix/` in the `ui` alias of `components.json` (`components/ui/` in Next.js, `src/components/ui/` in Vite and TanStack Start). A loader is one component; name what loads with `aria-label`:

```tsx
import { DotMatrix } from "@/components/ui/dot-matrix/dot-matrix";

<DotMatrix pattern="orbit" lattice="circle" size={24} aria-label="Loading" />;
```

Read these pages (Markdown) before you write code with it:

- Every prop of `DotMatrix` and `look`, with types and defaults: https://dotsengine.dev/docs/api.md
- The 34 built-in patterns and which ones read `value`: https://dotsengine.dev/docs/patterns.md
- Loading to done or failed, progress, pause, enter and exit: https://dotsengine.dev/docs/states.md
- Colors, palettes and theme tokens: https://dotsengine.dev/docs/colors.md
- Write your own pattern as a JSON scene: https://dotsengine.dev/docs/scenes.md
- When nothing shows, it blurs, or it costs too much: https://dotsengine.dev/docs/troubleshooting.md

## Items

### Dot matrix

- `dot-matrix`: Dot Matrix. A dot matrix effects engine: 34 patterns as JSON presets, 7 lattices, 9 dot kinds, morphs, text, simulations. (https://dotsengine.dev/r/dot-matrix.json)
- `dot-matrix-svg`: Dot Matrix SVG. Draws a Dot Matrix as one SVG, with gradient halos and no filters. (https://dotsengine.dev/r/dot-matrix-svg.json)
- `dot-matrix-dom`: Dot Matrix DOM. Draws a Dot Matrix as spans with Web Animations, run by the compositor. (https://dotsengine.dev/r/dot-matrix-dom.json)
- `dot-matrix-webgl`: Dot Matrix WebGL. Draws every Dot Matrix on the page with one shared WebGL2 context. (https://dotsengine.dev/r/dot-matrix-webgl.json)

### Examples

238 items. Ready loaders from dotsengine.dev/examples: one pattern, layout, dot and color each. For example `orbit-square`, `orbit-circle`, `orbit-rounded`, `orbit-ring`.

Find one with `npx shadcn@latest search @dots-engine -q <word>`, or read the registry index (https://dotsengine.dev/r/registry.json).

## More

- Registry index (every item as JSON): https://dotsengine.dev/r/registry.json
- Site summary for agents: https://dotsengine.dev/llms.txt
