@allbin/icons

0.0.13 • Public • Published

AllBinary icon library

AllBinary Icon library where svg files are reprocessed into react components that take a className so it plays well with TailwindCSS.

Currently based on icons from:

Compile icons

To compile SVG files into React components, run the npm script build

> npm run get # get svg files and place them in ./input
> npm run compile # build react components from svg files
> npm run eslint:fix # reformat component files, this will take a while
> npm publish # publish the package to npmjs

Icon components will be placed in ./icons

Change icon source

In theory this will work with any directory of svg files as input, if we find a better source start by updating the degit command in the package.json. The command form is degit <github user>/<repo>/<subdir>

Readme

Keywords

Package Sidebar

Install

npm i @allbin/icons

Weekly Downloads

27

Version

0.0.13

License

MIT

Unpacked Size

1.9 MB

Total Files

1547

Last publish

Collaborators

  • noahhakansson
  • mdjarv
  • pscz
  • alendri