awesome-react-icons

NPM Travis Build DEPENDENCIES LICENSE TWEET

🙋‍♂️ Made by @abhijithvijayan

Donate: PayPal, Patreon

Buy Me a Coffee


❤️ it? ⭐️ it on [GitHub](https://github.com/abhijithvijayan/awesome-react-icons/stargazers) or [Tweet](https://twitter.com/intent/tweet?text=Check%20out%20awesome-react-icons%21%20by%20%40_abhijithv%0A%0AYet%20another%20minimal%20icons%20library%0Ahttps%3A%2F%2Fgithub.com%2Fabhijithvijayan%2Fawesome-react-icons%0A%0A%23react%20%23icons%20%23library%20%23javascript%20%23typescript) about it. ## Table of Contents - [Installation](#installation) - [Usage](#usage) - [API](#api) - [Issues](#issues) - [🐛 Bugs](#-bugs) - [LICENSE](#license) ## Installation Ensure you have [Node.js](https://nodejs.org) 10 or later installed. Then run the following: ``` # via npm npm install awesome-react-icons # or yarn yarn add awesome-react-icons ``` ## Usage ```js import Icon from 'awesome-react-icons'; const SampleIcon = () => { return ( ) } ``` ## API #### name Type: `string` Icon's name #### size Type: `number` or `string` Default: `20` Size of icon #### stroke Type: `string` Default: `currentColor` Stroke color #### strokeWidth Type: `number` or `string` Default: `1.5` Stroke width #### rootDivClassName Type: `string` Default: `icon-wrapper` Wrapper div element's class name ## Issues _Looking to contribute? Look for the [Good First Issue](https://github.com/abhijithvijayan/awesome-react-icons/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A%22good+first+issue%22) label._ ### 🐛 Bugs Please file an issue [here](https://github.com/abhijithvijayan/awesome-react-icons/issues/new) for bugs, missing documentation, or unexpected behavior. [**See Bugs**](https://github.com/abhijithvijayan/awesome-react-icons/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A%22type%3A+bug%22) ### Linting & TypeScript Config - Shared Eslint & Prettier Configuration - [`@abhijithvijayan/eslint-config`](https://www.npmjs.com/package/@abhijithvijayan/eslint-config) - Shared TypeScript Configuration - [`@abhijithvijayan/tsconfig`](https://www.npmjs.com/package/@abhijithvijayan/tsconfig) ## License MIT © [Abhijith Vijayan](https://abhijithvijayan.in)