{"_id":"@arduino/react-icons","_rev":"15-e91af57045eb09f7c55fe2b4197b3b6b","name":"@arduino/react-icons","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.1":{"name":"@arduino/react-icons","version":"0.1.1","keywords":[],"license":"AGPL","_id":"@arduino/react-icons@0.1.1","maintainers":[{"name":"f.mirabito","email":"fabrizio@mirabito.it"},{"name":"a.iannaccone","email":"a.iannaccone@arduino.cc"}],"homepage":"https://github.com/arduino/react-icons#readme","bugs":{"url":"https://github.com/arduino/react-icons/issues"},"dist":{"shasum":"a54410091356dba1b750e9cc2d8126a2d1ef3564","tarball":"https://registry.npmjs.org/@arduino/react-icons/-/react-icons-0.1.1.tgz","fileCount":806,"integrity":"sha512-Ce6dtfMDghRpH7fHRN+zvW7M21v3y+DgY+A5y6V3zx2xiT/Zk9xBrXnTI7RU7H60iZc1jhFgOVk6DISvLPh7ig==","signatures":[{"sig":"MEQCIBmJtIhrADwUKfvWMg2volbukM7QHDyCCLuVSVOtnzsMAiBtP3vqqhxaqjAGiEizW2bO3s1n4dzLjChLZgZ9CyzeeA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4145269,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhlRjaCRA9TVsSAnZWagAAx40P/1TywY8+AmG+GdMJhsnK\najcdEEc4i+iuLtyLa03YygbjCZ6HNxIsnUTeVFrWHubs4yCh+Yle035qunbJ\noSmUPKDVt0DpyzMvZLUGNM8XUqZYi6hmAHPOwpH+6thOuzp/fm6lrn+ZnptL\n93vh1sYtrjFPcgmbGDgsbTH1OraQBVps1IziUXIh2qLrqY8Kdi8tutCdUOUR\nna9XJQnscMUXH7Uv5lP0/t66p1rbYp8k0W83mKBEjqKMattTBtM2jl27b/Ze\ngTsPuynKi0tjQCK2alRsO66e19VBqTv5U9Udc5xTIyw+aEKV19gJJkv2U6HT\ntxUiOiIgcU8nzlpXR6FCqNHjQTBZ3r2RdFN0MUqmulQbiIKWx/7WrsyMZJ8I\n8NVLYrrgUw3Jj/BKY8UwITAmGwoYlsg0PCJYwkCrqK9yzl491tzp7j0lLjc4\nMJovOgTB+3GdJZAfGoSPGv04cWqhqwPUqY/bzkE/JGj3WvEiKAh4org8reHe\nQmPLJUGS9xxqR6I+aHPu2Fwx0xVvXhiDgr7CnAkBfKkLnrgRmuw+M3egc2fu\nk4khxRY9ZWcYQANCUx5apYMaSloWgql31034OSI+nhH2qksjqY6B7VfpxdxQ\nJveKKx60y0+Iugzz0ClF/bk3RjlG1J5cbZ34R9zQDWfY76NAeJBWt+D+YHIK\ndTjy\r\n=7PGa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.module.js","source":"src/index.ts","gitHead":"d05d8ad73d2031e1493a835d29ba0051bb131e7b","scripts":{"gen":"node scripts/generate-icons.js","build":"rollup -c","clean":"rm -rf ./dist"},"_npmUser":{"name":"f.mirabito","email":"fabrizio@mirabito.it"},"repository":{"url":"git+ssh://git@github.com/arduino/react-icons.git","type":"git"},"_npmVersion":"6.14.15","description":"Allows arduino developers to use the arduino icons","directories":{},"_nodeVersion":"12.22.7","dependencies":{"request":"^2.88.2"},"_hasShrinkwrap":false,"devDependencies":{"react":"^16.13.1","rollup":"^2.18.0","camelcase":"^6.0.0","figma-api":"^1.5.5","react-dom":"^16.12.0","@svgr/core":"^5.4.0","typescript":"^4.1.2","@babel/core":"^7.10.3","babel-loader":"^8.1.0","request-promise":"^4.2.5","rollup-plugin-svg":"^2.0.0","@rollup/plugin-url":"^4.0.2","rollup-plugin-serve":"^1.0.1","rollup-plugin-sizes":"^1.0.2","@rollup/plugin-image":"^2.0.4","rollup-plugin-terser":"^7.0.0","rollup-plugin-postcss":"^2.5.0","@rollup/plugin-commonjs":"^13.0.0","rollup-plugin-react-svg":"^3.0.3","rollup-plugin-livereload":"^1.3.0","rollup-plugin-typescript2":"^0.27.0","@rollup/plugin-node-resolve":"^7.1.1","rollup-plugin-peer-deps-external":"^2.2.2"},"_npmOperationalInternal":{"tmp":"tmp/react-icons_0.1.1_1637161178627_0.7570316615875892","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@arduino/react-icons","version":"0.1.2","keywords":[],"license":"AGPL","_id":"@arduino/react-icons@0.1.2","maintainers":[{"name":"arduino-accounts","email":"accounts@arduino.cc"},{"name":"svisconti","email":"s.visconti@arduino.cc"},{"name":"pirropirro","email":"fra.pirrotta@gmail.com"},{"name":"csarnataro","email":"c.sarnataro@gmail.com"}],"homepage":"https://github.com/arduino/react-icons#readme","bugs":{"url":"https://github.com/arduino/react-icons/issues"},"dist":{"shasum":"f6ab419da19ecce75a70c7e631ae2c63ceb28acd","tarball":"https://registry.npmjs.org/@arduino/react-icons/-/react-icons-0.1.2.tgz","fileCount":806,"integrity":"sha512-gaPR49qRxJG4XY2EYrBsMTuXQf6C7lgtpKI9r49a+BB6YMHi7LEcCejCafempoU5K6ltJT+EUXlkpvh1Snss1w==","signatures":[{"sig":"MEUCIQC4T8qXtlhPW4kv3XdPPBVpbI/rzSw3Dv9xWuUcpZtXvQIgOlW98aHOXWx3p8Kv6nmWHtROMisyo8ZpT4NQ/lnobmU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4145259},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.module.js","source":"src/index.ts","gitHead":"67bc731535e3ea1f248d97c0489e83478ed26a13","scripts":{"gen":"node scripts/generate-icons.js","build":"rollup -c","clean":"rm -rf ./dist"},"_npmUser":{"name":"csarnataro","email":"c.sarnataro@gmail.com"},"repository":{"url":"git+ssh://git@github.com/arduino/react-icons.git","type":"git"},"_npmVersion":"10.2.3","description":"Allows Arduino developers to use the Arduino icons","directories":{},"_nodeVersion":"18.19.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"react":"^16.13.1","rollup":"^2.18.0","request":"^2.88.2","camelcase":"^6.0.0","figma-api":"^1.5.5","react-dom":"^16.12.0","@svgr/core":"^5.4.0","typescript":"^4.1.2","@babel/core":"^7.10.3","babel-loader":"^8.1.0","request-promise":"^4.2.5","rollup-plugin-svg":"^2.0.0","@rollup/plugin-url":"^4.0.2","rollup-plugin-serve":"^1.0.1","rollup-plugin-sizes":"^1.0.2","@rollup/plugin-image":"^2.0.4","rollup-plugin-terser":"^7.0.0","rollup-plugin-postcss":"^2.5.0","@rollup/plugin-commonjs":"^13.0.0","rollup-plugin-react-svg":"^3.0.3","rollup-plugin-livereload":"^1.3.0","rollup-plugin-typescript2":"^0.27.0","@rollup/plugin-node-resolve":"^7.1.1","rollup-plugin-peer-deps-external":"^2.2.2"},"_npmOperationalInternal":{"tmp":"tmp/react-icons_0.1.2_1710261432399_0.0745646071956485","host":"s3://npm-registry-packages"}}},"time":{"created":"2021-11-17T14:59:38.567Z","modified":"2026-08-04T10:26:40.837Z","0.1.1":"2021-11-17T14:59:38.863Z","0.1.2":"2024-03-12T16:37:12.721Z"},"bugs":{"url":"https://github.com/arduino/react-icons/issues"},"license":"AGPL","homepage":"https://github.com/arduino/react-icons#readme","keywords":[],"repository":{"url":"git+ssh://git@github.com/arduino/react-icons.git","type":"git"},"description":"Allows Arduino developers to use the Arduino icons","maintainers":[{"email":"c.sarnataro@gmail.com","name":"csarnataro"},{"email":"balsick@gmail.com","name":"balsick"},{"email":"l.doglione@arduino.cc","name":"lukdog"},{"email":"a.emireni@arduino.cc","name":"aemireni"},{"email":"accounts@arduino.cc","name":"arduino-accounts"},{"email":"s.visconti@arduino.cc","name":"svisconti"},{"email":"rengucci.gianmarco@gmail.com","name":"freshgiammi"},{"email":"m.curtolo@arduino.cc","name":"arduinomirko"}],"readme":"# @arduino/react-icons\n\n@arduino/react-icons is a library to import and use [arduino icons](https://zeroheight.com/59f8e25cb/p/07e4d9-iconography/b/9209b0) as react components\n\nAll icons inherit the color of the text whenever it was black in the original icon.\n\n## Installation and usage\n\nInclude in your project with npm or yarn\n\n    $ npm install @arduino/react-icons --save\n\nAnd import and use the component\n\n    import { IconAccountActivity, IconWarning } from '@arduino/react-icons';\n\n    function Welcome(props) {\n        return <h1>Hello, {props.name} <IconAccountActivity></h1>;\n    }\n\n## Development\n\nUnder the hoods this library is automatically generated. The script `scripts/generate-icons.js` does the following things:\n\n1. retrieves informations from Figma, using the `FIGMA_ICON_FILE_ID` and `FIGMA_API_ACCESS_TOKEN` environment variables\n2. downloads all icons in svg format\n3. transforms them using [svgr](https://react-svgr.com/) in react components\n4. constructs an index.ts to export them all\n\n### Update the icons\n\nWhenever you need to update the icons and release a new version of the library, follow these steps\n\n1. Grab the `FIGMA_ICON_FILE_ID` from Figma (at the moment the id is `7mUivQVGz0ONtdYnZPa5Ld`. It can easily be extracted from the share URL of the Figma file.)\n2. Grab the `FIGMA_API_ACCESS_TOKEN` from figma (Settings > Personal Access Tokens)\n3. Make sure the `node_modules` is updated\n\n    npm ci\n\n4. Export the environment variables\n\n    export FIGMA_API_ACCESS_TOKEN=xxxxxx && export FIGMA_ICON_FILE_ID=7mUivQVGz0ONtdYnZPa5Ld\n\n5. Run the script\n\n    npm run gen\n\n## Credits\n\n[Sebastian Hunkeler](https://github.com/sbhklr) had the idea and wrote the scripts/generate-icons.js to retrieve the icons from figma\n","readmeFilename":"README.md"}