Back to Documentation

Icons Documentation

Official IndoUI icons are available as a highly optimized, tree-shakable React component library.

Installation

Terminal
npm install @il-ui/icons

Basic Usage (React)

Import any icon as a standalone React component.

import { SearchIcon } from "@il-ui/icons"

function App() {
  return (
    <SearchIcon size={24} color="currentColor" />
  )
}

Multiple Icons Example

import { SearchIcon, UserIcon, SettingsIcon } from "@il-ui/icons"

Supported Props

PropTypeDefaultDescription
sizenumber | string24Icon width and height
colorstring"currentColor"Icon stroke color
strokeWidthnumber | string2Thickness of icon lines
classNamestring""Optional CSS classes

Technical Specifications

SVG-Based

Icons are rendered as high-quality SVGs, ensuring they look sharp at any size and pixel density.

Lightweight

Ultra-small footprint with zero runtime overhead beyond React itself.

Tree-shakable

Modern ESM support means only the icons you import will be included in your final bundle.

Framework Ready

Optimized for React 18+, Next.js (Server & Client), and Vite based projects.