- Getting started
- API reference
- CLI
CLI
The dotui-cli
allow you to setup up your design system quickly, scaffold components, hooks, and more.
It is the easiest way to get started with dotUI.
Init command
Use the init
command to initialize configuration and dependencies for a new project.
The init
command installs dependencies, adds utilities, configures tailwind.config.js, and CSS variables for the project.
Usage
npm
pnpm
yarn
bun
Reference
Option | Description |
---|---|
-h -help | Display help for command |
-y --yes | Use default options |
--skip-install | Skip install |
Add command
Use the add
command to add components, hooks, and more to your project.
Usage
npm
pnpm
yarn
bun
Reference
Option | Description |
---|---|
-h -help | Display help for command |
-y --yes | Use default options |
-o --overwrite | Overwrite existing files |
--cwd | The working directory |
--all | Add all available components |
--path | The path to add the component to. |