createui
Use the createui CLI to add components to your project.
init
Use the init command to initialize configuration and dependencies for a new project.
The init command installs dependencies, adds the cn util and configures CSS variables for the project.
Options
add
Use the add command to add components and dependencies to your project.
Options
view
Use the view command to view items from the registry before installing them.
You can view multiple items at once:
Options
search
Use the search command to search for items from registries.
You can search with a query:
Or search multiple registries at once:
The list command is an alias for search:
Options
list
Use the list command to list all items from a registry.
Options
Options
build
Use the build command to generate the registry JSON files.
This command reads the registry.json file and generates the registry JSON files in the public/r directory.
Options
To customize the output directory, use the --output option.