حول
سجل مكونات لـ Rust مستوحى من Shadcn. أنشئ تطبيقات متعددة المنصات للويب وسطح المكتب وiOS وAndroid.
تطوير الويب والتطبيقاتالنمو المقاس للنجوم
- خلال 24 ساعة
- +١
- خلال 7 أيام
- +١١
- خلال 15 يومًا
- +٢٨
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلRust/UI — Dioxus
Inspired by shadcn/ui, built for Rust fullstack apps. A component registry for Dioxus — Tailwind CSS, copy-paste ready.
Early stage, experimental — expect breaking changes. Open to contributors.
See CONTRIBUTING.md before opening an issue or pull request.
Not affiliated with or endorsed by the Dioxus team. This is an independent personal project.
Why Rust/UI?
Rust/UI is not a component library you install as a crate. It is a collection of reusable components that you copy into your Dioxus applications.
- Full control: The code is yours.
- Styling: Built with Tailwind CSS v4.
- Framework: Designed for the Dioxus fullstack ecosystem.
- Type safe: Uses Rust's type system for component props.
Stack
| Tool | Role |
|---|---|
| Dioxus 0.7 | Fullstack Rust UI framework |
| Tailwind CSS v4 | Styling |
tw_merge |
Tailwind class merging |
icons |
Lucide icons for Dioxus |
Getting Started
Visit rust-ui.com to browse components and get install commands.
Prerequisites
- Rust
- Node.js and pnpm for Tailwind tooling
- Dioxus CLI
Install the Dioxus CLI:
cargo install dioxus-cli
Use a component
Browse the registry, find a component, and copy its source into your project's components/ directory.
Development
Clone the repository, install JavaScript dependencies, then start Dioxus:
git clone https://github.com/rust-ui/dioxus-ui.git
cd dioxus-ui
pnpm install
dx serve
dx serve automatically starts the Tailwind watcher and generates assets/tailwind.css from the root tailwind.css file. No second CSS process needed.
Useful targets:
dx serve --web --fullstack
dx serve --platform desktop
dx serve --platform ios
Open http://127.0.0.1:8080.
Git hooks
git config core.hooksPath .githooks
The pre-commit hook needs typos-cli and the nightly rustfmt component (build toolchain stays stable, only formatting uses nightly):
cargo install typos-cli
rustup toolchain install nightly --profile minimal --component rustfmt
iOS simulator
dx serve --platform ios targets whatever simulator is currently booted. To pick a specific device, use one of the helper scripts (they shut down other simulators, boot the right one, uninstall the old build, then run dx serve):
./run_ios_dioxus.sh # uses whatever simulator is already booted
./run_ios_iphone_pro.sh # boots iPhone 16 Pro (18.6)
./run_ios_ipad_pro.sh # boots iPad Pro (12.9-inch, 3rd gen)
Star History
License
MIT — see LICENSE.
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…
