#svg #yew #svg-icons

yew_svg

SVG icon helper for yew framework

3 unstable releases

Uses old Rust 2015

0.2.1 Feb 26, 2019
0.2.0 Feb 9, 2019
0.1.0 Nov 23, 2018

#708 in GUI

MIT/Apache

7KB
131 lines

SVG Icon Helper for yew framework

support yew >=0.5

USAGE

1) with remote svg-defs:

html!{
    <SVG: href="/svg-defs.svg#shape",/>
}

2) with local *.svg file or string:

html!{
    <SVG: content=include_str!("../svgs/satellite.svg"),/>
}

Dependencies

~12–21MB
~293K SLoC