CLI

npx @neelshha/ui copies source into a React or Next app.

init

Terminalbash
npx @neelshha/ui init
npx @neelshha/ui init --path src/components/ui

Writes ns.json, tokens, cx.ts, and the theme module. Skips files that already exist. If the project has no @/ alias, the token import hint is a path relative to src/ — not a fake alias.

add

Terminalbash
npx @neelshha/ui add glide-tabs
npx @neelshha/ui add glide-tabs morph-menu
npx @neelshha/ui add morph-menu --diff --dry-run

Resolves registry dependencies. add glide-tabs also writes the tokens it runs on. Tokens, theme, and cx are skipped if they already exist unless you pass --overwrite-foundation. Presentational files are overwritten so you can pull updates. --diff prints the line changes. --dry-run writes nothing. The CLI uses the bundled registry; --latest or NS_REGISTRY fetches remote. Component CSS is imported from the TSX; add does not ask you to import a CSS file.

list

Terminalbash
npx @neelshha/ui list

Prints the registry and marks Pro components. The live index is at /r/index.json.

login and logout

Terminalbash
npx @neelshha/ui login
npx @neelshha/ui add split-flap
npx @neelshha/ui logout

login asks for the license key from your Pro receipt, checks it, and stores it in ~/.config/neelshha-ui. After that, add installs Pro components like any other. The key is only ever sent to ui.neelshha.com, never to a registry named in ns.json. In CI, set NS_LICENSE_KEY instead. info shows whether you are logged in.

From this repo

Terminalbash
npm run build:cli
npm run ns -- init
npm run ns -- add glide-tabs