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.
cargo install ui-cli --force
If you want to start very easily with all setup for you, run this:
ui starters # Optional, quick start
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.
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
This crate is used in rust-ui.com — check it out to see UI CLI in action :)
Still room for improvements.
Any contribution is welcome!
This project is licensed under the MIT License. See the LICENSE file for details.