Lucide Leptos

Implementation of the Lucide icon library for Leptos applications.

Installation

Install the icons from your command line.

cargo add lucide-leptos

Usage

use leptos::prelude::*;
use lucide_leptos::Camera;

#[component]
fn App() -> impl IntoView {
    view! {
        <Camera color="red" size=48 />
    }
}

Props

NameTypeDefault
sizeSignal<usize>24
colorSignal<String>"currentColor"
fillSignal<String>"none"
stroke_widthSignal<usize>2
absolute_stroke_widthSignal<bool>false

Icons