Crates.io | yew-feather |
lib.rs | yew-feather |
version | 1.0.0 |
source | src |
created_at | 2020-11-30 18:49:17.086671 |
updated_at | 2023-01-06 21:05:01.196815 |
description | Yew components for Feather icons |
homepage | https://github.com/pedrodesu/yew-feather |
repository | https://github.com/pedrodesu/yew-feather.git |
max_upload_size | |
id | 318344 |
size | 221,388 |
yew-feather 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.
v4.29.0
use yew::{function_component, html, Html};
use yew_feather::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" />