| Crates.io | dxc-icons |
| lib.rs | dxc-icons |
| version | 0.2.0 |
| created_at | 2025-08-06 15:22:57.607563+00 |
| updated_at | 2025-10-29 07:35:49.291644+00 |
| description | Dioxus component library with over 290 exquisite icons |
| homepage | https://github.com/efahnjoe/dxc-icons |
| repository | https://github.com/efahnjoe/dxc-icons |
| max_upload_size | |
| id | 1783923 |
| size | 233,465 |
Thanks for Element Plus for providing the icons.
Make sure your Cargo.toml includes the Dioxus dependency:
[dependencies]
dioxus = "0.6"
cargo add dxc-icons
Since 'Box' is a keyword in Rust, please use 'IconBox'.
'Document' is a keyword in Dioxus, please use 'IconDocument'.
For a better experience, it can be used in conjunction with dxc - our UI component library.
Github: https://github.com/efahnjoe/dxc
Crate: https://crates.io/crates/dxc
| Name | Type | Description | Default |
|---|---|---|---|
| size | Option<String> |
Icon size | "1em" |
| color | Option<String> |
Svg fill color | "currentColor" |
use dioxus::prelude::*;
use dxc_icons::{Plus, IconBox};
#[component]
fn App() -> Element {
Div {
Plus {}
IconBox {}
IconDocument {}
}
}
rsx! {
Div {
Plus {
size: "16px", // The size of the icon: size * size
color: "black", // The svg fill color
}
}
}