egui_phosphor
Bundles Phosphor icons with boilerplate to use in your egui app.
Installation
Add the crate as a dependency in Cargo.toml:
= "0.1.0"
On startup, update the fonts in your egui context:
let mut fonts = default;
add_to_fonts;
cc.egui_ctx.set_fonts;
Usage
Use the constants provided by the crate in your text:
ui.label;
License
egui-phosphor is licensed under MIT OR Apache-2.0. Phosphor Icons are licensed under MIT.