Expand description
§dioxus-free-icons
Use free svg icons in your Dioxus projects easily with dioxus-free-icons. This library provides Icon component, which will generate SVG for a Font Awesome icon.
Basic usage:
ⓘ
use dioxus::prelude::*;
use dioxus_free_icons::icons::fa_brands_icons::FaRust;
use dioxus_free_icons::Icon;
fn RustIcon() -> Element {
rsx!(
Icon {
width: 30,
height: 30,
fill: "black",
icon: Icon::FaRust,
}
)
}
Modules§
- icons
- a collections of free icons
Structs§
- Icon
Props - Icon component Props
Traits§
- Icon
Shape - Icon shape trait
Functions§
- Icon
- Icon component which generates SVG elements