yew_octicons is an easy interface for using Octicons in yew projects.
yew_octicons
use yew::html; use yew_octicons::Icon; use yew_octicons::IconKind; let code = html! { <span> { Icon::new(IconKind::Alert) } </span> };
html!