Expand description
Centralized SVG icon component system.
Provides a unified icon component with 30+ variants for consistent iconography across the application. All icons are inline SVGs (24x24 viewBox, stroke-based) for crisp rendering at any size.
§Usage
use logicaffeine_web::ui::components::icon::{Icon, IconVariant, IconSize};
rsx! {
Icon { variant: IconVariant::Book, size: IconSize::Medium }
Icon { variant: IconVariant::Fire, size: IconSize::Large, class: "text-orange" }
}Re-exports§
pub use Icon_completions::Component::Icon;
Structs§
Enums§
- Icon
Size - Icon size variants.
- Icon
Variant - All available icon variants.
Functions§
- Icon
- SVG icon component with configurable size and styling.