AI Integration Spec·shadcn CLI 3.0 Compatible

Use AntraUI with Cursor, Claude Code & AI Coding Agents

AntraUI is published as an official shadcn-compatible namespaced registry. Give your AI coding agents the ability to discover, download, and stitch production AI primitives directly into your codebase.

1. Configure components.json

Add the registries block to your root components.json file. Free primitives are served publicly from @antraui, while Pro components are securely verified via your license key on @antraui-pro.

{
  "$schema": "https://ui.shadcn.com/schema.json",
  "style": "default",
  "rsc": true,
  "tsx": true,
  "tailwind": {
    "config": "tailwind.config.ts",
    "css": "app/globals.css",
    "baseColor": "neutral"
  },
  "aliases": {
    "components": "@/components",
    "utils": "@/lib/utils"
  },
  "registries": {
    "@antraui": "https://ui.antraai.in/r/{name}.json",
    "@antraui-pro": {
      "url": "https://ui.antraai.in/r/pro/{name}",
      "headers": {
        "Authorization": "Bearer ${ANTRAUI_LICENSE_KEY}"
      }
    }
  }
}
Pro License Key Setup

Add your key to your project's .env.local:

ANTRAUI_LICENSE_KEY=ANTRA-XXXX-XXXX-XXXX-XXXX

2. Add to Cursor, Claude Code & Antigravity (MCP)

AntraUI can be ingested by any MCP (Model Context Protocol) client. In Cursor Composer, Claude Code, or Antigravity, add the shadcn registry endpoint to your AI server config:

Cursor / Claude Code

Run the official shadcn command directly inside your chat prompt:

npx shadcn@latest add @antraui/voice-agent-orb
AntraUI Native CLI

Or use the dedicated AntraUI CLI with automated error resolution:

npx antraui add voice-agent-orb

3. Production Prompts for AI Coding

Copy and paste these exact prompts into Cursor Composer, Claude, or ChatGPT to scaffold AI interfaces instantly:

1. Multi-Agent Trace in Dashboard

“Install the multi-agent DAG trace component from @antraui/multi-agent-trace. Integrate it into my dashboard page to visualize real-time subagent step executions with elapsed time counters and token cost chips.”

2. High-Converting Pricing Block (@antraui-pro)

“Fetch the tiered SaaS pricing block from @antraui-pro/pricing-early-adopter. Add monthly and annual billing toggles, feature checkmarks, and wire up the checkout button to my Stripe subscription checkout session.”

3. Interactive 3D Globe with Latency Pins (@antraui-pro)

“Add the 3D particle globe from @antraui-pro/interactive-3d-globe into my landing hero section. Configure it with auto-rotation, mouse drag controls, and glowing latency pins connecting San Francisco, London, and Tokyo.”

4. Neural Voice Assistant Orb with Waveform

“Install @antraui/voice-agent-orb and place it in my AI chat interface. Bind its visual states ('listening', 'reasoning', 'speaking') to my WebRTC audio stream and display a real-time reactive equalizer waveform.”

5. Full Autonomous AI Swarm Workspace (@antraui-pro)

“Install the complete AI swarm workspace from @antraui-pro/workspace-autonomous-studio. Set up the split layout with subagent task trees on the left, an interactive live canvas in the center, and execution audit telemetry on the right.”

Machine-Readable Documentation (llms.txt)

We publish an LLM-optimized catalog summary at /llms.txt for instant context injection.

View llms.txt↗