Installation
Netter UI ships its own CLI, netter-ui. It copies components into your project as editable source, so you own every line. It runs with npm, pnpm, yarn or bun.
Set up your project
Run this once in a React project with Tailwind CSS v4 (Next.js, Vite, React Router…). The CLI detects the framework, the import alias in
tsconfig.jsonand whether you use asrc/folder, then writesnetter.json, adds thecn()helper tolib/utils.tsand installsclsxandtailwind-merge. Skip it and the firstadddoes the same with the detected defaults.npx netter-ui@latest initAdd a component
Add any item by its name, or several at once. The source is copied to
components/netter/otp-input.tsx, imports are rewritten to your aliases, companion files and registry dependencies come along, and npm dependencies are installed with the package manager your lockfile uses.npx netter-ui@latest add otp-inputAdjust netter.json
aliasesare the import paths written into installed files;pathsare the folders they land in. Edit both to match your layout.registryis where items come from;--registry <url>or theNETTER_REGISTRY_URLenvironment variable override it for one run.{ "$schema": "https://netterui.netcodex.online/schema/netter.json", "registry": "https://netterui.netcodex.online", "tsx": true, "framework": "next", "tailwind": { "version": 4, "css": "src/app/globals.css" }, "aliases": { "components": "@/components", "ui": "@/components/ui", "lib": "@/lib", "hooks": "@/hooks", "utils": "@/lib/utils" }, "paths": { "components": "src/components", "ui": "src/components/ui", "lib": "src/lib", "hooks": "src/hooks" }}Search, inspect and flags
Browse the registry from the terminal and look at an item's files before adding it. Existing files are never replaced silently: the CLI asks,
--yeskeeps them,--overwritereplaces them.searchnpx netter-ui@latest search otpviewnpx netter-ui@latest view otp-inputlistnpx netter-ui@latest listno promptsnpx netter-ui@latest add otp-input --yesreplacenpx netter-ui@latest add otp-input --overwritefoldernpx netter-ui@latest add otp-input --path src/app/_componentspreviewnpx netter-ui@latest add otp-input --dry-runOr install by hand
No CLI needed. Open the item JSON (
https://netterui.netcodex.online/r/otp-input.json), save each entry offilesat itstargetunder your components folder, install the packages independencies, and addcn()tolib/utils.tsif a file imports it. Every component page has a Code tab with the same source.itemcurl -s https://netterui.netcodex.online/r/otp-input.json
Use it from your AI agent
Rather ask than type? Give your coding agent the Netter UI MCP server for live registry tools, the Agent Skill for the workflow, or both. They run the same CLI as the steps above.
MCP server
Live tools for Claude Code, Cursor, VS Code, Windsurf and any MCP client: search the registry, read a component and install it.
Read the MCP docsnpx -y netter-ui@latest mcpAgent Skill
Teaches Codex, Cursor, Copilot, Gemini CLI, Claude Code and every Agent Skills agent how to pick, install and fit components.
Read the skill docsnpx netter-ui@latest skill add
Registry endpoints
- Catalog
- https://netterui.netcodex.online/r/registry.json
- Item template
- https://netterui.netcodex.online/r/{name}.json
- Example item
- https://netterui.netcodex.online/r/otp-input.json