serialized-svg-icons
v4.1.0
Published
SVG icons of popular icon packs
Downloads
380
Readme
serialized-svg-icons
framework agnostic svg definition loader forked by react-icons/react-icons
Install
npm install --save serialized-svg-icons
How to use
import { FaBeer } from "serialized-svg-icons";
console.log(FaBeer);
// {"tag":"svg","attr":{"viewBox":"0 0 448 512"},"child":[{"tag":"path","attr":{"d":"M368 96h-48V56c0-13.255-10.745-24-24-24H24C10.745 32 0 42.745 0 56v400c0 13.255 10.745 24 24 24h272c13.255 0 24-10.745 24-24v-42.11l80.606-35.977C429.396 365.063 448 336.388 448 304.86V176c0-44.112-35.888-80-80-80zm16 208.86a16.018 16.018 0 0 1-9.479 14.611L320 343.805V160h48c8.822 0 16 7.178 16 16v128.86zM208 384c-8.836 0-16-7.164-16-16V144c0-8.836 7.164-16 16-16s16 7.164 16 16v224c0 8.836-7.164 16-16 16zm-96 0c-8.836 0-16-7.164-16-16V144c0-8.836 7.164-16 16-16s16 7.164 16 16v224c0 8.836-7.164 16-16 16z"}}]};
Use it on your own framework
LICENSE
MIT
- Icons are taken from the other projects so please check each project licences accordingly.