CLI Reference

add

Install high-performance components directly into your project.

Overview

The add command downloads component source code and its dependencies into your local components folder. Unlike traditional libraries, you get full ownership of the code.

Usage

Add specific components:

Terminal

$npx kachindo@latest add button card

Run interactively (see all available components):

Terminal

$npx kachindo@latest add

Features

Dependency Management

Automatically installs required npm packages like lucide-react-native or framer-motion.

Smart Conflict Resolution

Warns you if a component already exists and asks for confirmation before overwriting.

Recursive Installation

If a component depends on another (e.g., Dialog depends on Button), both are installed.

Interactive Picker

Use your arrow keys and spacebar to select multiple components from the registry list.

Arguments

ArgumentDescription
[components...]The names of components to add.

Options

OptionDescription
-o, --overwriteAutomatically overwrite existing files without prompting.
-y, --yesSkip all confirmation prompts.
Profile