#web #asmjs #svg #yew

yew_svg

SVG icon helper for yew framework

3 unstable releases

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

#11 in #asmjs

36 downloads per month

MIT/Apache

6KB
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

~3.5MB
~74K SLoC