Skip to content

Installation

Add Ecliptix components to your project in four steps.

Copy the prompt

Paste it into Claude Code, Cursor, Codex or any agent that can edit files and run commands in your project. It covers all four manual steps.

Prompt
Set up Ecliptix UI in this project and add the agent-scanner component.

1. If the project has no components.json, run `npx shadcn@latest init` with the defaults. Use the runner for the package manager this project already uses (npx, pnpm dlx, yarn dlx or bunx).
2. In components.json, add this entry to "registries" (create the key if it is missing):
   "@ecliptix-ui": "https://ecliptix-ui.101xanshu.com/r/styles/default/{name}.json"
3. Add these tokens to the global stylesheet that imports Tailwind. Keep anything already there:

@theme {
  --color-bone: oklch(96.53% 0.0101 81.7);
  --color-abyss: oklch(16% 0.006 271);
  --color-abyss-3: oklch(19.5% 0.005 271);
  --color-solar: oklch(62.57% 0.2008 265.42);
}

@utility focus-ring {
  &:focus-visible {
    outline: 2px solid oklch(96.53% 0.0101 81.7 / 0.42);
    outline-offset: 2px;
  }
}

4. Run `npx shadcn@latest add @ecliptix-ui/agent-scanner` with the same runner.
5. Check that the project still type checks, then tell me which files you created or changed.

Full guide: https://ecliptix-ui.101xanshu.com/docs/installation

Connect the registry (optional)

The shadcn MCP server lets your agent browse and add Ecliptix components by name in later chats. Swap claude for cursor or vscode.

npx shadcn@latest mcp init --client claude