Thousands of icons ready to be used in Freya. 🌹
OTHER License
⚠️ WORK IN PROGRESS
Easily use icons in your Freya apps. Forked from dioxus-free-icons.
use freya::prelude::*;
use freya_icons::icons::bs_icons::BsAlarm;
use freya_icons::Icon;
fn main() {
launch(app);
}
fn app() -> Element {
rsx! (
Icon {
width: 200,
height: 200,
fill: "#007FFF",
icon: BsAlarm,
}
)
}
Adding support for freya in dioxus-free-icons would have required to duplicate all the codegen as Freya and HTML Dioxus renderers have different APIs for SVG. This would have been a pain in the ass to work with.
The following features are available. Please see react-icons site to check the icon name and icon design.
This project is licensed under the MIT license.
// generate icon files
cd crates/codegen
cargo run --release
cargo run --example demo