kiteuikit CLI

The kiteuikit package adds Kite UI Kit components to your Next.js project, applies theme presets, and downloads Pro components after license validation.

Quick start

Add the CLI to your app package, then run the interactive setup (recommended):

pnpm add kiteuikit@latest -D
npx kiteuikit setup

One-off without installing: npx kiteuikit@latest setup

pnpm monorepos

Run commands from your Next.js app directory (e.g. apps/web). Use --workspace-root when dependencies should install at the repo root.

Commands

PropTypeDefaultDescription
setupcommandnpx kiteuikit setupInteractive wizard: optional license, pick components, choose a theme preset, install deps.
initcommandnpx kiteuikit init [--license=KEY]Initialize folders and dependencies without the full setup wizard.
addcommandnpx kiteuikit add <component> | npx kiteuikit add --allCopy component source into components/profile/. Pro components require a valid license.
themecommandnpx kiteuikit theme <preset>Write a theme preset into app/globals.css and save .kiteui/theme.json.
activatecommandnpx kiteuikit activate <license-key>Validate and save your license key for Pro downloads.
statuscommandnpx kiteuikit statusShow license tier, activations, and which components you can add.
listcommandnpx kiteuikit listList all free and Pro components (and templates).
helpcommandnpx kiteuikit helpPrint command reference in the terminal.

setup

Walks through license activation (optional), component selection, and theme installation. Equivalent to running init plus add and theme in one flow.

npx kiteuikit setup

init

Creates components/profile, installs Motion and Lucide, and prints available components. Use when you only need project scaffolding.

npx kiteuikit init
npx kiteuikit init --license=KITE-XXXX-XXXX-XXXX

add

Copies component .tsx files into your project. Free components are bundled in the npm package; Pro components are fetched from GET /api/components/:name after your license is validated.

npx kiteuikit add bubble-card
npx kiteuikit add profile-header thumbnail-scroller
npx kiteuikit add --all

After purchase

Activate your key from the checkout success page, then run npx kiteuikit activate KITE-… or pass --license= on add. Lost your key? Sign in with email to recover licenses and invoices.

theme

Writes CSS variables between /* kiteui-theme:start */ and /* kiteui-theme:end */ in app/globals.css. Saves .kiteui/theme.json for overrides. See Themes.

npx kiteuikit theme ocean
npx kiteuikit theme default

activate & status

activate stores your license in .kiteui-license (project or home with --global). status shows tier and activation count.

npx kiteuikit activate KITE-XXXX-XXXX-XXXX
npx kiteuikit status

Flags

PropTypeDefaultDescription
--license=KEYflagPass a license key inline (init, add, setup).
--allflagAdd every component your tier allows (add only).
--globalflagSave the license file in your home directory.
--workspace-rootflagpnpm monorepos: install dependencies at the workspace root.
--theme=<preset>flagTheme preset id when running setup or theme.

Environment variables

PropTypeDefaultDescription
KITEUI_LICENSEenvLicense key (alternative to .kiteui-license or activate).
KITEUI_API_URLenvLicense and Pro component API base URL (default: https://kiteui.com).

License file search order: KITEUI_LICENSE env → .kiteui-license in the project → home directory.

Free components

Shipped inside the kiteuikit npm package — no license required.

Pro components

Require a Pro, Team, or Enterprise license. Downloaded from kiteui.com when you run add. View pricing.

Templates

Full page templates (Pro tier). Add with npx kiteuikit add template-influencer. Browse layouts on Templates.

template-influencertemplate-storetemplate-cardstemplate-links

Related