5 releases (3 breaking)
0.4.0 | Feb 20, 2023 |
---|---|
0.3.1 | Dec 14, 2021 |
0.2.0 | May 17, 2021 |
0.1.1 | Jul 14, 2020 |
0.1.0 | Jul 14, 2020 |
#1014 in WebAssembly
78 downloads per month
1MB
2K
SLoC
yew-octicons
An easy interface for using Octicons in yew projects.
Example
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.
Dependencies
~10–15MB
~262K SLoC