yew-feather

Crates.ioyew-feather
lib.rsyew-feather
version1.0.0
sourcesrc
created_at2020-11-30 18:49:17.086671
updated_at2023-01-06 21:05:01.196815
descriptionYew components for Feather icons
homepagehttps://github.com/pedrodesu/yew-feather
repositoryhttps://github.com/pedrodesu/yew-feather.git
max_upload_size
id318344
size221,388
Pedro Ferreira (pedrodesu)

documentation

https://github.com/pedrodesu/yew-feather

README

yew-feather

crates.io version crates.io downloads

What is yew-feather?

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.

Based on Feather Icons v4.29.0

https://feathericons.com/

Usage

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" />
Commit count: 10

cargo fmt