| Crates.io | helixui |
| lib.rs | helixui |
| version | 0.1.0 |
| created_at | 2025-10-11 05:55:19.160758+00 |
| updated_at | 2025-10-11 05:55:19.160758+00 |
| description | A modern UI component library for Dioxus applications |
| homepage | https://github.com/fangbaichun/helixui |
| repository | https://github.com/fangbaichun/helixui |
| max_upload_size | |
| id | 1877890 |
| size | 195,163 |
一个现代化的 Dioxus UI 组件库,提供美观、响应式的组件。
在你的 Cargo.toml 中添加依赖:
[dependencies]
helixui = "0.1.0"
dioxus = { version = "0.6.0", features = ["web"] }
use helixui::components::{Button, ButtonType, Icon, IconType};
use dioxus::prelude::*;
fn App() -> Element {
rsx! {
div {
class: "p-8 space-y-4",
// 按钮组件
Button {
button_type: ButtonType::Primary,
"点击我"
}
// 图标组件
Icon {
icon: IconType::Home,
size: IconSize::Large
}
}
}
}
HelixUI 支持深色和浅色主题,组件会自动适配当前主题:
// 组件会自动使用当前主题的颜色
Button {
button_type: ButtonType::Primary,
"主题适配按钮"
}
MIT License - 详见 LICENSE 文件
欢迎提交 Issue 和 Pull Request!