5个版本 (3个重大更新)

0.4.0 2023年2月20日
0.3.1 2021年12月14日
0.2.0 2021年5月17日
0.1.1 2020年7月14日
0.1.0 2020年7月14日

#1014WebAssembly

Download history · Rust 包仓库 12/week @ 2024-04-26 · Rust 包仓库 3/week @ 2024-05-03 · Rust 包仓库 2/week @ 2024-05-24 · Rust 包仓库 1/week @ 2024-05-31 · Rust 包仓库 1/week @ 2024-06-21 · Rust 包仓库 1/week @ 2024-06-28 · Rust 包仓库 17/week @ 2024-07-05 · Rust 包仓库 61/week @ 2024-07-26 · Rust 包仓库

每月78次下载

MIT许可证

1MB
2K SLoC

JavaScript 1.5K SLoC // 0.0% comments · Rust 包仓库 Ruby 382 SLoC // 0.0% comments · Rust 包仓库 Rust 147 SLoC // 0.1% comments · Rust 包仓库 Shell 54 SLoC // 0.1% comments · Rust 包仓库 TSX 32 SLoC · Rust 包仓库 TypeScript 15 SLoC // 0.2% comments · Rust 包仓库

yew-octicons

在yew项目中使用Octicons的简单接口。

示例

use yew::html;
use yew_octicons::Icon;
use yew_octicons::IconKind;

let code = html! {
    <span>
        { Icon::new(IconKind::Alert) }
    </span>
};

对于更复杂的示例,请参阅examples/icon-sizing

依赖关系

~10–15MB
~262K SLoC