Iconsax for React

0.0.8 · active · verified Tue Apr 21

iconsax-react is a React component library wrapping the Iconsax icon pack, offering 1000 distinct icons across six styles (Linear, Outline, TwoTone, Bulk, Broken, Bold), totaling 6000 variations. Currently at version 0.0.8, it's in early development, implying frequent updates and potential for rapid change. The library provides a vast collection of visually consistent, 24px grid-based icons, usable as standard React components with configurable `color`, `size`, and `variant` props. It aims to offer a comprehensive, style-flexible iconographic system for modern React applications.

Common errors

Warnings

Install

Imports

Quickstart

Demonstrates importing and using multiple Iconsax components with custom sizes, colors, and variant styles within a React functional component.

import React from 'react';
import { EmojiHappy, Setting2, Notification } from 'iconsax-react';

const App = () => {
  return (
    <div style={{ display: 'flex', gap: '20px', alignItems: 'center', padding: '20px' }}>
      <EmojiHappy size={48} color="#4CAF50" variant="Bulk" />
      <Setting2 size={32} color="#FF9800" variant="TwoTone" />
      <Notification size={24} color="#F44336" variant="Outline" />
      <p>Click me!</p>
    </div>
  );
};

export default App;

view raw JSON →