| Crates.io | yew-octicons |
| lib.rs | yew-octicons |
| version | 0.4.0 |
| created_at | 2020-07-14 07:19:28.685517+00 |
| updated_at | 2023-02-20 04:40:13.983026+00 |
| description | Easy support for Octicons in yew |
| homepage | |
| repository | https://github.com/io12/yew-octicons |
| max_upload_size | |
| id | 264937 |
| size | 2,309,794 |
yew-octiconsAn easy interface for using Octicons in yew projects.
use yew::html;
use yew_octicons::Icon;
use yew_octicons::IconKind;
let code = html! {
<span>
{ Icon::new(IconKind::Alert) }
</span>
};
For a more complex example, see examples/icon-sizing.