Installation
React Package

React Package Installation

To get started with the HugeIcons React package, you need to install it from npm or yarn.

Installation

First, you have to activate your license and get your npm token, check the activation guide for more information.

After that you can install the @hugeicons/react package:

npm i @hugeicons/react

Example

Here's a quick example of how to use an icon in a React component:

import React from 'react';
import { Home01Icon } from '@hugeicons/react';
 
function App() {
  return (
    <div>
      <Home01Icon />
    </div>
  );
}
 
export default App;