← Inventory
DotMatrixLoader
Intent-specific dotted SVG glyph for agent status slots (prompt bar +,
working stacks, op bubbles).
Usage
import { DOT_MATRIX_LOADER_NAMES, DOT_MATRIX_LOADERS, DotMatrixLoader, dotMatrixLoaderEntry, DotMatrixLoaderEntry, DotMatrixLoaderName, DotMatrixLoaderProps } from "@desk/ui/components/dot-matrix-loader";Best practices
Pick a glyph by intent from
DOT_MATRIX_LOADERS— don't invent ad-hoc names. Map product actions → names in one place.Pass
settledwhen the op finished but narration is still on screen, so the slot stays in character without spinning forever.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| name | DotMatrixLoaderName | Which catalogue glyph to render. | |
| settled | boolean | When true, render a frozen frame: no SMIL/CSS animations, dots at their natural positions and full opacity. Use when the moment has finished but the bar is still narrating the result. |
Also exports
- const
DOT_MATRIX_LOADER_NAMES - const
DOT_MATRIX_LOADERS - const
dotMatrixLoaderEntry - interface
DotMatrixLoaderEntry - type
DotMatrixLoaderName - interface
DotMatrixLoaderProps