v0.1.8

The Design System for Lazy Engineers.

One design system for personal sites, developer SaaS, and HTML explainer docs. Zero custom CSS, machined telemetry, and an agent-first component architecture.

$ agent "Set up and build with Array UI (array-ui)..."

Ready-to-paste prompt with architectural invariants for Cursor, Claude Code, Windsurf, or Antigravity.

~/production/telemetry
16/16 Live
Service edge-gateway
Region us-east-1
Latency 14ms p99
Status
Healthy
bash
kubectl get pods -n prodpod/api-gateway-7f9 1/1 Running 42ms p99pod/ledger-engine-01 1/1 Running 14ms p99mesh: 16 edge nodes active · 0 errors

Option 1: Official npm Package (Next.js, Astro & React)

#

Install the complete array-ui package from npm for 48+ native components, tokens, and zero-FOUC theme scripts.

01

Install via Package Manager

Install array-ui with your package manager of choice:

pnpm add array-ui
02

Import Styles & Components

Import global stylesheet in root layout, then import components from array-ui/nextjs or array-ui/astro/*:

app/layout.tsx
import "array-ui/styles.css";
import { Button, Terminal, PingStatus, Card } from "array-ui/nextjs";

Option 2: shadcn CLI Registry (Copy-Paste Primitives)

#

Copy pure TypeScript and Tailwind primitives directly into your project without npm dependencies.

01

Configure shadcn CLI Registry

Add Array UI registry endpoint to your components.json registries:

components.json
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "default",
"registries": {
"@aui": "https://ui.arpitbhayani.me/r/{name}.json"
}
}
02

Install Design Tokens & Components

Install base theme tokens and copy-paste components into @/components/ui/:

bash
npx shadcn@latest add @aui/aui -y
npx shadcn@latest add @aui/button @aui/badge @aui/card @aui/terminal @aui/ping-status -y

Browse Library by Category

Explore all 58+ native components, design tokens, and AI agent endpoints.

View All 58+ Components →
[03] Explore →

Developer & Telemetry

Machined infrastructure controls: telemetry terminals, git diff viewers, pulsing heartbeat dots, and property key-value inspectors.

[04] Explore →

Core Actions & UI

Tactile action buttons with signature crimson primary, status pills, hairline cards, monospace keycaps, and dropdowns.

[05] Explore →

Forms & Inputs

Dense inputs with keyboard shortcut badges, select menus, auto-expanding textareas, and debounced search boxes.

[06] Explore →

Feedback & Overlays

Status-tinted inline alerts, transient toast notifications, progress indicators, skeleton loaders, and accessible modals.

[07] Explore →

Data Display

Typed sortable tables, timeline event feeds, large metric stat cards, avatar clusters, and syntax-highlighted code blocks.

[08] Explore →

Navigation

Underline tab bars, collapsible hairline accordions, breadcrumb trails, step navigation, and scroll-spy table of contents.

[09] Explore →

Editorial, Layout & Media

Split-pane layouts, container stacks, engineering maxim quotes, takeaways callouts, profile hero sections, and social pills.

[10] Usage & Frameworks

shadcn CLI Registry

#

Copy signature array-ui primitives directly into your project via shadcn CLI.

bash
# Configure registry in components.json, then:
npx shadcn@latest add @aui/button @aui/terminal @aui/ping-status -y
# Installed in @/components/ui/
import { Button } from "@/components/ui/button";
import { Terminal } from "@/components/ui/terminal";

Next.js (App Router / Pages)

#

Direct package dependency with zero-FOUC theme provider.

app/page.tsx
import "array-ui/styles.css";
import { Button, Terminal, PingStatus } from "array-ui/nextjs";
export default function Page() {
return (
<div>
<PingStatus status="operational" label="Cluster live" />
<Button variant="primary">Deploy</Button>
</div>
);
}

Astro Primitives

#

Zero client JavaScript overhead for content sites.

src/pages/index.astro
---
import "array-ui/styles.css";
import Terminal from "array-ui/astro/Terminal.astro";
import DiffBlock from "array-ui/astro/DiffBlock.astro";
import PingStatus from "array-ui/astro/PingStatus.astro";
---
<PingStatus status="operational" label="Healthy" />
<Terminal title="bash" lines={["echo hello"]} />

Plain CSS Tokens

#

Works in any framework or static HTML page.

index.html
<link rel="stylesheet" href="node_modules/array-ui/dist/styles.css" />
<body class="aui-body">
<button class="aui-btn aui-btn-primary aui-btn-md">Deploy</button>
<span class="aui-badge aui-badge-green">Operational</span>
</body>