Skip to main content

Crate lepticons

Crate lepticons 

Source
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§

IconProps
Props for the Icon component.

Enums§

LucideGlyph

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.