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.

  1. 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.json and whether you use a src/ folder, then writes netter.json, adds the cn() helper to lib/utils.ts and installs clsx and tailwind-merge. Skip it and the first add does the same with the detected defaults.

    npx netter-ui@latest init
  2. Add 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-input
  3. Adjust netter.json

    aliases are the import paths written into installed files; paths are the folders they land in. Edit both to match your layout. registry is where items come from; --registry <url> or the NETTER_REGISTRY_URL environment variable override it for one run.

    netter.jsonJSON23 lines
    {  "$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"  }}
  4. 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, --yes keeps them, --overwrite replaces them.

    searchnpx netter-ui@latest search otp
    viewnpx netter-ui@latest view otp-input
    listnpx netter-ui@latest list
    no promptsnpx netter-ui@latest add otp-input --yes
    replacenpx netter-ui@latest add otp-input --overwrite
    foldernpx netter-ui@latest add otp-input --path src/app/_components
    previewnpx netter-ui@latest add otp-input --dry-run
  5. Or install by hand

    No CLI needed. Open the item JSON (https://netterui.netcodex.online/r/otp-input.json), save each entry of files at its target under your components folder, install the packages in dependencies, and add cn() to lib/utils.ts if 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.

    npx -y netter-ui@latest mcp
    Read the MCP docs
  • Agent Skill

    Teaches Codex, Cursor, Copilot, Gemini CLI, Claude Code and every Agent Skills agent how to pick, install and fit components.

    npx netter-ui@latest skill add
    Read the skill docs

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
Browse components