AI Primitives
AI Primitives
DocsIntroductionInstallationOrbsAPI Reference

Orbs

16 orbs plus StreamingText. All Canvas 2D, monochrome, prefers-reduced-motion aware. Names link to the live playground.

Loading State — 11 orbs

ComponentWhat it showsUse for
DownloadOrbFile assembles dot by dot, seals with folded cornerGenerating report…
ErrorOrbDigital glitch tears, then ! holdsAgent failure
ProgressOrbRing sweeps 0→100% + center % (supports value={0..1})Upload / generation
CloningOrbDots spiral onto spheregit clone
SyncOrbSquare 8×8 → supernova 3-ringSync
FetchingOrbPackets pulse, snap, peel backfetch
PullingOrbFetch + mergepull
PushingOrbLocal commits launchpush
MergingOrbTwo branches convergemerge
RebasingOrbReplay onto three ringsrebase
StashingOrbDots converge, flash, reapplystash

Thinking — 5 orbs

ComponentWhat it showsUse for
DnaOrbDouble helix builds base by base, wave-litSequencing
VerifyOrbScan sweeps top→bottom and backVerifying
GraphOrbNetwork lights wave by waveMapping network
CubeOrbCube twists then blooms into orbThinking
ScanOrbWavefront brightens dotsScan

Naming note

The registry id thinking renders CubeOrb — one id, one component. See lib/primitives.ts. Rendered orbs also live at /#orb-<id> (e.g. /#orb-dna).

Thinking
import { DnaOrb } from "@ai-primitives-ui/ui";
<DnaOrb size={32} aria-label="Sequencing" />;

Plus

  • StreamingText — tokens appear in sequence as text generates. Props in API Reference.
  • MiniOrb + drawGlobe — 16px companions for dense UI (tool chips, avatars). Props in API Reference.
  • OrbitOrb — legacy export, undocumented. Don't use in new code.

Installation

One command, one snippet, one theme bridge.

API Reference

Shared orb props, exceptions, helpers, accessibility.

On this page

OrbsLoading State — 11 orbsThinking — 5 orbsPlus