Expand description
Lucide icons for Leptos applications.
Provides Lucide icons as a Leptos component. Icons are grouped into 42 category features for selective compilation.
§Example
ⓘ
use lepticons::{Icon, LucideGlyph};
use leptos::prelude::*;
#[component]
fn App() -> impl IntoView {
view! { <Icon glyph=LucideGlyph::Activity /> }
}Structs§
Enums§
Constants§
- DEFAULT_
FILL - Default SVG fill color.
- DEFAULT_
SIZE - Default icon size in pixels.
- DEFAULT_
STROKE - Default SVG stroke color.
- DEFAULT_
STROKE_ WIDTH - Default SVG stroke width.
Traits§
- Glyph
- Trait for types that provide SVG content for rendering.
Functions§
- Icon
- Renders an SVG icon.