use theme::TextStyle;
use ui::icons::{self, Icon, glyph};
use ui::widgets::Icons as _;
theme.icon(glyph::Search) // body size, text tone
theme.icon_at(TextStyle::Caption, glyph::Search)
theme.icon(Icon::glyph(glyph::Star).solid())
theme.icon(Icon::asset("brand/mark.svg")) // the app's AssetSource
theme.icon(Icon::file(picked_path)) // off disk
icons::icon(glyph::Search).size(px(16.0)).text_color(theme.text_muted)icons::iconwith notext_coloranywhere paints nothing.theme.iconsupplies size and tone.- One cargo feature per Lucide category (
bezel-icons = { version = "0.2", features = ["arrows", "navigation"] }),fullfor all 42, none by default.uiturns onarrows,layout,notifications,shapesandtext; thebezelfacade turns onfull. Icon::fileloads off the paint thread; the first frame or two paint nothing.- Naming
icons::CATEGORIESlinks every enabled glyph into the binary.