{"name":"react-icons","version":"2.2.7","description":"svg react icons of popular icon packs using ES6 imports","scripts":{"docs":"babel-node ./bin/generate-docs","build":"node ./bin/create | xargs babel --out-dir lib","prepublish":"npm run build","eslint":"eslint ."},"repository":{"type":"git","url":"git+ssh://git@github.com/gorangajic/react-icons.git"},"keywords":["react","icons","inline","svg","font","awesome","material","design"],"author":{"name":"Goran Gajic"},"license":"MIT","bugs":{"url":"https://github.com/gorangajic/react-icons/issues"},"homepage":"https://github.com/gorangajic/react-icons#readme","devDependencies":{"babel":"6.5.2","babel-cli":"6.7.5","babel-eslint":"^5.0.0-beta6","babel-plugin-add-module-exports":"0.1.2","babel-preset-es2015":"6.6.0","babel-preset-react":"6.5.0","babel-preset-stage-0":"6.5.0","camelcase":"^2.0.1","capitalize":"^1.0.0","cheerio":"^0.19.0","classnames":"^2.2.3","commitizen":"^2.8.2","cz-conventional-changelog":"^1.1.6","decamelize":"1.1.2","eslint":"^1.10.3","eslint-config-airbnb":"^3.1.0","eslint-plugin-react":"^3.15.0","ghooks":"^1.3.2","glob":"^6.0.4","gulp":"^3.9.0","marky-markdown":"git+https://github.com/npm/marky-markdown.git","material-design-lite":"^1.0.6","svg-scaler":"github:gorangajic/svg-scaler#take-size-viewbox","underscore":"^1.8.3","validate-commit-msg":"^2.6.1"},"peerDependencies":{"react":"^0.14.0 || ^15.0.0 || ^16.0.0","react-dom":"^0.14.0 || ^15.0.0 || ^16.0.0"},"dependencies":{"react-icon-base":"2.1.0"},"config":{"ghooks":{"commit-msg":"validate-commit-msg"},"commitizen":{"path":"./node_modules/cz-conventional-changelog"},"validate-commit-msg":{"types":["issue","master","revert"],"warnOnFail":false,"maxSubjectLength":100,"subjectPattern":".+","subjectPatternErrorMsg":"subject does not match subject pattern!","helpMessage":""}},"gitHead":"07d8b62766294b235f982efba7d13e02f94bb070","_id":"react-icons@2.2.7","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"nwwells","email":"nwwells@gmail.com"},"dist":{"integrity":"sha512-0n4lcGqzJFcIQLoQytLdJCE0DKSA9dkwEZRYoGrIDJZFvIT6Hbajx5mv9geqhqFiNjUgtxg8kPyDfjlhymbGFg==","shasum":"d7860826b258557510dac10680abea5ca23cf650","tarball":"http://registry-npm.ywwl.com/react-icons/download/react-icons-2.2.7.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAmquAH+Qi+QJe1zyJVlFua+cjdxh0KowyC3drjkiyXJAiEA8ddfaQXFlhEsmQZghw3UkUO9odnHkbwge3V/k0W9M30="}],"size":1097331,"noattachment":false,"key":"/react-icons/-/react-icons-2.2.7.tgz"},"maintainers":[{"email":"nwwells@gmail.com","name":"nwwells"},{"email":"fero.null+oldnpm@gmail.com","name":"feroc1ty"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-icons-2.2.7.tgz_1507243095134_0.26463766349479556"},"directories":{},"readme":"<img src=\"https://raw.githubusercontent.com/react-icons/react-icons/master/react-icons.svg\" width=\"120\" alt=\"React Icons\">\n\n# [React Icons](https://react-icons.github.io/react-icons)\n\n[![npm][npm-image]][npm-url]\n\n[npm-image]: https://img.shields.io/npm/v/react-icons.svg?style=flat-square\n[npm-url]: https://www.npmjs.com/package/react-icons\n\nInclude popular icons in your React projects easily with `react-icons`, which utilizes ES6 imports that allows you to include only the icons that your project is using.\n\n## Installation (for standard modern project)\n\n```bash\nyarn add react-icons\n# or\nnpm install react-icons --save\n```\n\nexample usage\n\n```jsx\nimport { FaBeer } from \"react-icons/fa\";\n\nfunction Question() {\n  return (\n    <h3>\n      Lets go for a <FaBeer />?\n    </h3>\n  );\n}\n```\n\n[View the documentation](https://react-icons.github.io/react-icons) for further usage examples and how to use icons from other packages. _NOTE_: each Icon package has it's own subfolder under `react-icons` you import from.\n\nFor example, to use an icon from **Material Design**, your import would be: `import { ICON_NAME } from 'react-icons/md';`\n\n## Installation (for meteorjs, gatsbyjs, etc)\n\n> **Note**\n> This option has not had a new release for some time.\n> More info https://github.com/react-icons/react-icons/issues/593\n\nIf your project grows in size, this option is available.\nThis method has the trade-off that it takes a long time to install the package.\n\n```bash\nyarn add @react-icons/all-files\n# or\nnpm install @react-icons/all-files --save\n```\n\nexample usage\n\n```jsx\nimport { FaBeer } from \"@react-icons/all-files/fa/FaBeer\";\n\nfunction Question() {\n  return (\n    <h3>\n      Lets go for a <FaBeer />?\n    </h3>\n  );\n}\n```\n\n## Icons\n\n| Icon Library                                                            | License                                                                                           | Version                                  | Count |\n| ----------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ---------------------------------------- | ----: |\n| [Circum Icons](https://circumicons.com/)                                | [MPL-2.0 license](https://github.com/Klarr-Agency/Circum-Icons/blob/main/LICENSE)                 | 1.0.0                                    |   288 |\n| [Font Awesome 5](https://fontawesome.com/)                              | [CC BY 4.0 License](https://creativecommons.org/licenses/by/4.0/)                                 | 5.15.4-3-gafecf2a                        |  1612 |\n| [Font Awesome 6](https://fontawesome.com/)                              | [CC BY 4.0 License](https://creativecommons.org/licenses/by/4.0/)                                 | 6.5.2                                    |  2045 |\n| [Ionicons 4](https://ionicons.com/)                                     | [MIT](https://github.com/ionic-team/ionicons/blob/master/LICENSE)                                 | 4.6.3                                    |   696 |\n| [Ionicons 5](https://ionicons.com/)                                     | [MIT](https://github.com/ionic-team/ionicons/blob/master/LICENSE)                                 | 5.5.4                                    |  1332 |\n| [Material Design icons](http://google.github.io/material-design-icons/) | [Apache License Version 2.0](https://github.com/google/material-design-icons/blob/master/LICENSE) | 4.0.0-98-g9beae745bb                     |  4341 |\n| [Typicons](http://s-ings.com/typicons/)                                 | [CC BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/)                                   | 2.1.2                                    |   336 |\n| [Github Octicons icons](https://octicons.github.com/)                   | [MIT](https://github.com/primer/octicons/blob/master/LICENSE)                                     | 18.3.0                                   |   264 |\n| [Feather](https://feathericons.com/)                                    | [MIT](https://github.com/feathericons/feather/blob/master/LICENSE)                                | 4.29.1                                   |   287 |\n| [Lucide](https://lucide.dev/)                                           | [ISC](https://github.com/lucide-icons/lucide/blob/main/LICENSE)                                   | v5.1.0-6-g438f572e                       |  1215 |\n| [Game Icons](https://game-icons.net/)                                   | [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)                                         | 12920d6565588f0512542a3cb0cdfd36a497f910 |  4040 |\n| [Weather Icons](https://erikflowers.github.io/weather-icons/)           | [SIL OFL 1.1](http://scripts.sil.org/OFL)                                                         | 2.0.12                                   |   219 |\n| [Devicons](https://vorillaz.github.io/devicons/)                        | [MIT](https://opensource.org/licenses/MIT)                                                        | 1.8.0                                    |   192 |\n| [Ant Design Icons](https://github.com/ant-design/ant-design-icons)      | [MIT](https://opensource.org/licenses/MIT)                                                        | 4.4.2                                    |   831 |\n| [Bootstrap Icons](https://github.com/twbs/icons)                        | [MIT](https://opensource.org/licenses/MIT)                                                        | 1.11.3                                   |  2716 |\n| [Remix Icon](https://github.com/Remix-Design/RemixIcon)                 | [Apache License Version 2.0](http://www.apache.org/licenses/)                                     | 4.2.0                                    |  2860 |\n| [Flat Color Icons](https://github.com/icons8/flat-color-icons)          | [MIT](https://opensource.org/licenses/MIT)                                                        | 1.0.2                                    |   329 |\n| [Grommet-Icons](https://github.com/grommet/grommet-icons)               | [Apache License Version 2.0](http://www.apache.org/licenses/)                                     | 4.12.1                                   |   635 |\n| [Heroicons](https://github.com/tailwindlabs/heroicons)                  | [MIT](https://opensource.org/licenses/MIT)                                                        | 1.0.6                                    |   460 |\n| [Heroicons 2](https://github.com/tailwindlabs/heroicons)                | [MIT](https://opensource.org/licenses/MIT)                                                        | 2.1.3                                    |   888 |\n| [Simple Icons](https://simpleicons.org/)                                | [CC0 1.0 Universal](https://creativecommons.org/publicdomain/zero/1.0/)                           | 11.14.0                                  |  3124 |\n| [Simple Line Icons](https://thesabbir.github.io/simple-line-icons/)     | [MIT](https://opensource.org/licenses/MIT)                                                        | 2.5.5                                    |   189 |\n| [IcoMoon Free](https://github.com/Keyamoon/IcoMoon-Free)                | [CC BY 4.0 License](https://github.com/Keyamoon/IcoMoon-Free/blob/master/License.txt)             | d006795ede82361e1bac1ee76f215cf1dc51e4ca |   491 |\n| [BoxIcons](https://github.com/atisawd/boxicons)                         | [MIT](https://github.com/atisawd/boxicons/blob/master/LICENSE)                                    | 2.1.4                                    |  1634 |\n| [css.gg](https://github.com/astrit/css.gg)                              | [MIT](https://opensource.org/licenses/MIT)                                                        | 2.1.1                                    |   704 |\n| [VS Code Icons](https://github.com/microsoft/vscode-codicons)           | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)                                         | 0.0.35                                   |   461 |\n| [Tabler Icons](https://github.com/tabler/tabler-icons)                  | [MIT](https://opensource.org/licenses/MIT)                                                        | 3.2.0                                    |  5237 |\n| [Themify Icons](https://github.com/lykmapipo/themify-icons)             | [MIT](https://github.com/thecreation/standard-icons/blob/master/modules/themify-icons/LICENSE)    | v0.1.2-2-g9600186                        |   352 |\n| [Radix Icons](https://icons.radix-ui.com)                               | [MIT](https://github.com/radix-ui/icons/blob/master/LICENSE)                                      | @radix-ui/react-icons@1.3.0-1-g94b3fcf   |   318 |\n| [Phosphor Icons](https://github.com/phosphor-icons/core)                | [MIT](https://github.com/phosphor-icons/core/blob/main/LICENSE)                                   | 2.1.1                                    |  9072 |\n| [Icons8 Line Awesome](https://icons8.com/line-awesome)                  | [MIT](https://github.com/icons8/line-awesome/blob/master/LICENSE.md)                              | 1.3.1                                    |  1544 |\n\nYou can add more icons by submitting pull requests or creating issues.\n\n## Configuration\n\nYou can configure react-icons props using [React Context API](https://reactjs.org/docs/context.html).\n\n_Requires **React 16.3** or higher._\n\n```jsx\nimport { IconContext } from \"react-icons\";\n\n<IconContext.Provider value={{ color: \"blue\", className: \"global-class-name\" }}>\n  <div>\n    <FaFolder />\n  </div>\n</IconContext.Provider>;\n```\n\n| Key         | Default               | Notes                              |\n| ----------- | --------------------- | ---------------------------------- |\n| `color`     | `undefined` (inherit) |                                    |\n| `size`      | `1em`                 |                                    |\n| `className` | `undefined`           |                                    |\n| `style`     | `undefined`           | Can overwrite size and color       |\n| `attr`      | `undefined`           | Overwritten by other attributes    |\n| `title`     | `undefined`           | Icon description for accessibility |\n\n## Migrating from version 2 -> 3\n\n### Change import style\n\nImport path has changed. You need to rewrite from the old style.\n\n```jsx\n// OLD IMPORT STYLE\nimport FaBeer from \"react-icons/lib/fa/beer\";\n\nfunction Question() {\n  return (\n    <h3>\n      Lets go for a <FaBeer />?\n    </h3>\n  );\n}\n```\n\n```jsx\n// NEW IMPORT STYLE\nimport { FaBeer } from \"react-icons/fa\";\n\nfunction Question() {\n  return (\n    <h3>\n      Lets go for a <FaBeer />?\n    </h3>\n  );\n}\n```\n\nEnding up with a large JS bundle? Check out [this issue](https://github.com/react-icons/react-icons/issues/154).\n\n### Adjustment CSS\n\nFrom version 3, `vertical-align: middle` is not automatically given. Please use IconContext to specify className or specify an inline style.\n\n#### Global Inline Styling\n\n```tsx\n<IconContext.Provider value={{ style: { verticalAlign: 'middle' } }}>\n```\n\n#### Global `className` Styling\n\nComponent\n\n```tsx\n<IconContext.Provider value={{ className: 'react-icons' }}>\n```\n\nCSS\n\n```css\n.react-icons {\n  vertical-align: middle;\n}\n```\n\n### TypeScript native support\n\nDependencies on `@types/react-icons` can be deleted.\n\n#### Yarn\n\n```bash\nyarn remove @types/react-icons\n```\n\n#### NPM\n\n```bash\nnpm remove @types/react-icons\n```\n\n## Contributing\n\n`./build-script.sh` will build the whole project. See also CI scripts for more information.\n\n### Development\n\n```bash\nyarn\ncd packages/react-icons\nyarn fetch  # fetch icon sources\nyarn build\n```\n\n### Add/Update icon set\n\nFirst, check the discussion to see if anyone would like to add an icon set.\n\nhttps://github.com/react-icons/react-icons/discussions/categories/new-icon-set\n\nThe SVG files to be fetched are managed in this file. Edit this file and run `yarn fetch && yarn check && yarn build`.\n\nhttps://github.com/react-icons/react-icons/blob/master/packages/react-icons/src/icons/index.ts\n\n### Preview\n\n> **Note**\n> The project is not actively accepting PR for the preview site at this time.\n\nThe preview site is the [`react-icons`](https://react-icons.github.io/react-icons/) website, built in Astro+React.\n\n```bash\ncd packages/react-icons\nyarn fetch\nyarn build\n\ncd ../preview-astro\nyarn start\n```\n\n### Demo\n\nThe demo is a [Create React App](https://create-react-app.dev/) boilerplate with `react-icons` added as a dependency for easy testing.\n\n```bash\ncd packages/react-icons\nyarn fetch\nyarn build\n\ncd ../demo\nyarn start\n```\n\n## Why React SVG components instead of fonts?\n\nSVG is [supported by all major browsers](http://caniuse.com/#search=svg). With `react-icons`, you can serve only the needed icons instead of one big font file to the users, helping you to recognize which icons are used in your project.\n\n## Related Projects\n\n- [react-svg-morph](https://github.com/gorangajic/react-svg-morph/)\n\n## Licence\n\nMIT\n\n- Icons are taken from the other projects so please check each project licences accordingly.\n","publish_time":1507243096867,"_cnpm_publish_time":1507243096867,"dist-tags":{"beta":"6.0.0-beta.0","latest":"5.7.0"}}