yew-lucide

Crates.ioyew-lucide
lib.rsyew-lucide
version0.330.0
sourcesrc
created_at2022-04-02 08:05:47.735236
updated_at2024-02-13 09:21:20.482097
descriptionYew components for Lucide icons
homepage
repositoryhttps://gitlab.com/john_t/yew-lucide
max_upload_size
id560736
size738,018
John Toohey (greenfierydragon)

documentation

README

yew-lucide

crates.io version crates.io downloads

Forked from Yew Feather

What is yew-lucide?

yew-lucide is a collection of simply beautiful open source icons for Yew. Each icon is designed on a 24x24 grid with an emphasis on simplicity, consistency and readability.

Based on Lucide Icons

This will be updated to keep in track with the latest lucide.

https://lucide.dev/

Usage

use yew::{function_component, html};
use yew_lucide::Camera;

#[function_component(App)]
fn app() -> Html {
    html! { <Camera /> }
}

fn main() {
    yew::start_app::<App>();
}

Icons can be configured with inline props:

<Camera color="red" size=48 />
Commit count: 101

cargo fmt