serialized-svg-icons

4.1.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i serialized-svg-icons

Weekly Downloads

52

Version

4.1.0

License

MIT

Unpacked Size

12.5 MB

Total Files

18

Last publish

Collaborators

  • mizchi