canvas 2d · monochrome · zero runtime dependencies
UI primitives for
AI-native interfaces
17 primitives · 0 runtime dependencies · MIT · More coming soon
Showcase
Generating File
A file assembles dot by dot, seals with a folded corner, and steadies for handoff.
Failed
Digital glitch tears, then a `!` holds: honest failure.
Progress
Ring sweeps around a still globe: 0→100% at a glance.
DNA
A double helix assembles base by base: curious, methodical, alive.
Verify
A vigilant scan sweeps and reinforces: protective, thorough, wary.
Graph
Nodes find each other and link: a living network revealed.
Cloning
Dots spiral onto an empty sphere, filling it layer by layer.
Sync
Bidirectional sync: local and remote converge.
Fetching
Packets pulse outward from the sphere's core, snap onto the surface one by one, then peel back in.
Pulling
Fetch and merge combined: remote dots flow in and integrate.
Pushing
Selected local commits detach and launch outward to the remote.
Merging
Two branches converge at a junction and continue as one.
Rebasing
Orbs replay onto three equator rings, filling the globe together.
Stashing
Scattered work dots converge into a glowing core, flash shut, then reapply.
Thinking
A cube twists a few turns, then blooms into the orb.
Scan
A soft wavefront sweeps the surface, brightening dots in passing.
Streaming Text
Tokens that appear in sequence as text is generated.
More coming soon
More primitives on the way.
Coming soonInstallation
npm install @ai-primitives-ui/uiUsage
import { CloningOrb } from "@ai-primitives-ui/ui";<CloningOrb size={64} aria-label="Cloning repository" />Playground
17 ready · test, don't just look
import { DownloadOrb } from "@ai-primitives-ui/ui";
<DownloadOrb size={64} aria-label="Download" />