소개
Shadcn에서 영감을 받은 Rust용 컴포넌트 레지스트리입니다. Web, 데스크톱, iOS, Android용 크로스 플랫폼 앱을 구축할 수 있습니다.
웹 및 앱 개발측정된 스타 증가
- in 24h
- +1
- in 7 days
- +11
- in 15 days
- +28
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalRust/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.
관련 프로젝트 살펴보기
불러오는 중…
