ui-cli

Crates.ioui-cli
lib.rsui-cli
version0.2.9
created_at2025-03-08 18:57:54.819261+00
updated_at2025-09-08 15:25:36.65137+00
descriptionA CLI to add components to your app.
homepagehttps://rust-ui.com/docs/components/cli
repositoryhttps://github.com/rust-ui/cli
max_upload_size
id1584714
size173,354
Max Wells (max-wells)

documentation

README

UI CLI

A CLI tool to add any number of components to your project, or to start a new project from scratch. It works for Leptos at the moment, but it will be extended to other frameworks in the future. All the components are built using Tailwind CSS.

Installation

cargo install ui-cli --force

Commands

1. Starters (optional, quick start)

If you want to start very easily with all setup for you, run this:

ui starters # Optional, quick start

2. Init (existing projects)

If you want add components to an existing project, run this:

ui init

This command will setup everything for you to then add components easily.

3. Add

For adding new components, you just need to run this:

ui add button
# ui add demo_card demo_button
# └──> Works with any number of components

Example in Production

This crate is used in rust-ui.com — check it out to see UI CLI in action :)

Contributions 💪

Still room for improvements.

Any contribution is welcome!

License

This project is licensed under the MIT License. See the LICENSE file for details.

Commit count: 178

cargo fmt