Crates.io | yew-lucide |
lib.rs | yew-lucide |
version | 0.330.0 |
source | src |
created_at | 2022-04-02 08:05:47.735236 |
updated_at | 2024-02-13 09:21:20.482097 |
description | Yew components for Lucide icons |
homepage | |
repository | https://gitlab.com/john_t/yew-lucide |
max_upload_size | |
id | 560736 |
size | 738,018 |
Forked from Yew Feather
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.
This will be updated to keep in track with the latest lucide.
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 />