Use Huge Icons As React Components – hugeicons-react

Description:

The hugeicons-react component allows you to use Hugeicons as React components.

Easy to implement and fully customizable. 3600+ stroke icons are included.

How to use it:

1. Install & download.

# Yarn
$ yarn add hugeicons-react

# NPM
$ npm install hugeicons-react

2. Browser all icons on Hugeicons and import an icon component into your React app.

import { ReactIcon } from “hugeicons-react”;

3. Add the icon to the app.

<ReactIcon />

4. Set the size of the icon.

<ReactIcon size={48} />

5. Change the color of the icon.

<ReactIcon color=”#00FFFF” />

Preview:

hugeicons-react

Tags:

Add Comment