InkUI
Getting Started

CLI Reference

All inkui CLI commands and options.

inkui add

Add one or more components to your project.

npx inkui add <component> [components...]

Examples

# Add a single component
npx inkui add spinner
 
# Add multiple at once
npx inkui add spinner table select dialog
 
# Add all components
npx inkui add spinner badge progress-bar text-input select multi-select table dialog

Options

FlagDescription
--dir <path>Target directory (default: ./components/ui)
--overwriteOverwrite existing files without prompting
--dry-runPreview what would be added without writing

What gets added

Running npx inkui add spinner copies:

./components/ui/
└── spinner.tsx     ← the component source you own

The component imports @inkui-cli/core for tokens. That package is added to your package.json automatically.

Available components

ComponentCommand
Spinnernpx inkui add spinner
Badgenpx inkui add badge
ProgressBarnpx inkui add progress-bar
TextInputnpx inkui add text-input
Selectnpx inkui add select
MultiSelectnpx inkui add multi-select
Tablenpx inkui add table
Dialognpx inkui add dialog

inkui list

List all available components:

npx inkui list

inkui diff

Show what changed between your local copy and the latest version:

npx inkui diff spinner

On this page