awesome-react-icons
TypeScript icon, indicating that this package has built-in type declarations

1.4.8 • Public • Published

awesome-react-icons

🙋‍♂️ Made by @abhijithvijayan

Donate: PayPal, Patreon

Buy Me a Coffee


❤️ it? ⭐️ it on GitHub or Tweet about it.

Table of Contents

Installation

Ensure you have Node.js 10 or later installed. Then run the following:

# via npm
npm install awesome-react-icons

# or yarn
yarn add awesome-react-icons

Usage

import Icon from 'awesome-react-icons';

const SampleIcon = () => {
  return (
    <Icon name="user" />
  )
}

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 label.

🐛 Bugs

Please file an issue here for bugs, missing documentation, or unexpected behavior.

See Bugs

Linting & TypeScript Config

License

MIT © Abhijith Vijayan

Readme

Keywords

Package Sidebar

Install

npm i awesome-react-icons

Weekly Downloads

432

Version

1.4.8

License

MIT

Unpacked Size

326 kB

Total Files

275

Last publish

Collaborators

  • abhijithvijayan