项目作者: pedrodesu

项目描述 :
Yew components for Feather icons
高级语言: Rust
项目地址: git://github.com/pedrodesu/yew-feather.git
创建时间: 2020-11-30T18:46:32Z
项目社区:https://github.com/pedrodesu/yew-feather

开源协议:MIT License

下载


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

  1. use yew::{function_component, html, Html};
  2. use yew_feather::Camera;
  3. #[function_component(App)]
  4. fn app() -> Html {
  5. html! { <Camera ></Camera> }
  6. }
  7. fn main() {
  8. yew::start_app::<App>();
  9. }

Icons can be configured with inline props:

  1. <Camera color="red" size="48" ></Camera>