yew-octicons

Crates.ioyew-octicons
lib.rsyew-octicons
version0.4.0
sourcesrc
created_at2020-07-14 07:19:28.685517
updated_at2023-02-20 04:40:13.983026
descriptionEasy support for Octicons in yew
homepage
repositoryhttps://github.com/io12/yew-octicons
max_upload_size
id264937
size2,309,794
Benjamin Levy (io12)

documentation

README

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.

Commit count: 73

cargo fmt