Home

Awesome

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.