Expand description
Lucide SVG icons for egui.
Apps must register the SVG loader once:
ⓘ
egui_extras::install_image_loaders(&ctx);use egui_lucide::Lucide;
ui.add(Lucide::House.size(18.0).stroke_width(1.75));LucideIcon::source / LucideIcon::image bake color and stroke into the SVG
bytes. Display size is applied on the egui::Image, not in the path data.
The texture cache key includes color and stroke so restyling is not stale.
Structs§
- Lucide
Icon - A Lucide icon with color, stroke width, and display size.
Enums§
- Lucide
- Every Lucide icon shipped in this crate.
Constants§
- DEFAULT_
SIZE - Lucide defaults: 24×24 viewBox, stroke width 2.
- DEFAULT_
STROKE_ WIDTH - Lucide default
stroke-width. - ICON_
COUNT - Number of icons in
Lucide::ALL. - LUCIDE_
VERSION - Lucide release this crate was generated from.