BotUI

UI components for things that think.

Loading states, streaming indicators, agent status — the surfaces an agent product lives on. Install one with npx, and the code lands in your repo. No runtime dependency, nothing to keep current. Read it, change it, delete the name.

npx @botharness/botui add dot-matrix

Also works with shadcn, against the same registry:npx shadcn@latest add https://ui.botharness.ai/r/dot-matrix.json

shape · 形状
size · 尺寸
motion · 动效
dot / cell   55%
dot / pitch  38%    100% = two dots touching
touching at  dot / cell = 1.45
pitch        23.5 × 23.5 px
dot          8.9 px
silhouette   circle   dot square
renderer     svg   speed 1.00×

Components

Read from /registry.json — the same document the CLI installs from.

Loading the registry…

Why copy-and-own

Yours after install

The registry ships the real source files. What lands in components/botui/ is the same text as the repository, and a test in CI proves it byte for byte.

No version to track

There is no runtime dependency to upgrade and nothing that can break under you. When BotUI ships something better, you take the diff when you want to.

One component, five layers

Lattice, traversal, brightness envelope, dot polygon, renderer. Each is a table you can extend without touching the layers above.