egui_material_icons
Provides material icons (now material symbols) for egui.
example:
// register the fonts:
egui_material_icons::initialize(&cc.egui_ctx);
// later in some ui:
ui.button(egui_material_icons::icons::ICON_ADD);
Currently, this provides the rounded icons. By default, the filled variant is used.
Features
| Features | Fonts Included |
|---|---|
default (filled, compressed) |
Filled only |
--features outline |
Filled + Outline |
--no-default-features --features outline |
Outline only |
--no-default-features --features "filled outline" |
Both, uncompressed |
-
filled(default) - Include the filled font variant. -
outline- Include the outline font variant.use *; -
compressed(default) - Compress embedded fonts with DEFLATE, reducing binary size significantly.