Lucide Yew

Implementation of the Lucide icon library for Yew applications.

Installation

Install the icons from your command line.

cargo add lucide-yew

Usage

use lucide_yew::Camera;
use yew::prelude::*;

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

Props

NameTypeDefault
sizeusize24
colorString"currentColor"
fillString"none"
stroke_widthusize2
absolute_stroke_widthboolfalse

Icons