š§ Linux (Recommended) |
šŖ Windows |
---|---|
cargo install opensass |
cargo install opensass |
Download Executable File | Download .exe File |
os -h |
os -h |
š§© OpenSASS: A CLI tool for downloading reusable OpenSASS components from crates.io and integrating them into your WASM frontend projects.
To install the CLI:
cargo install opensass
Or build from source:
git clone https://github.com/opensass/cli.git
cd cli
cargo build --release
Cargo.toml
with proper features.src/
files related to the specified feature.os add i18nrs yew
This will:
i18nrs
crate.yew
feature.src/
files into your project under a new directory crate_name
, in this case i18nrs
.Cargo.toml
dependencies and lib.rs
file.os add i18nrs dio
os add i18nrs lep
Open SASS offers the following components:
And much more coming over time...
⯠time yes | npx shadcn@latest add accordion
npx shadcn@latest add accordion 8.98s user 4.85s system 90% cpu 15.279 total
⯠time os add accordion-rs yew
os add accordion-rs yew 0.16s user 0.02s system 5% cpu 0.2 total
Open SASS CLI is ~56Ć faster in user time and uses ~18Ć less CPU than shadcn
. More optimizations on the way š.
Contributions are welcome! Whether it's bug fixes, feature requests, or examples, we would love your help to make Open SASS better.
Open SASS is licensed under the MIT License. You are free to use, modify, and distribute this library in your projects.