UnflowUI
Icons

Icons

2,023 SVG icons across 22 categories, shipped as tree-shakeable React components.

The @unflowio/icons package provides over 2,000 icons as individual React components. Each icon is generated from an optimised SVG using SVGR + SVGO, so the resulting components are clean, accessible, and minimal.

Installation

npm install @unflowio/icons

Importing icons

Icons are organised into category subdirectories. Import each icon by its category path:

import { CloudFog } from '@unflowio/icons/weather-nature/cloud-fog';
import { Google } from '@unflowio/icons/social/google';
import { ChevronDown } from '@unflowio/icons/arrows/chevron-down';

Because each icon is a separate module, only the icons you import end up in your bundle.

Usage

Icons are standard SVG React components. They accept all SVG props:

<CloudFog className="text-grey-500" width={20} height={20} />

Inside UnflowUI components, just pass them as ReactNode:

<Button
  label="Upload file"
  startIcon={<CloudFog />}
  variant="secondary"
  size="md"
/>

Sizing

Icons default to 1em width and height (inheriting from font-size). You can override with Tailwind or inline styles:

<ChevronDown className="w-4 h-4" />
<ChevronDown style={{ width: 16, height: 16 }} />

Categories

CategoryCountExample import
flags271@unflowio/icons/flags/us
social240@unflowio/icons/social/twitter
office-editing234@unflowio/icons/office-editing/bold
maps-travel167@unflowio/icons/maps-travel/pin
design138@unflowio/icons/design/pen-tool
arrows122@unflowio/icons/arrows/arrow-right
math-finance116@unflowio/icons/math-finance/percent
system-devices107@unflowio/icons/system-devices/monitor
media97@unflowio/icons/media/play
communication82@unflowio/icons/communication/message
weather-nature79@unflowio/icons/weather-nature/sun
people71@unflowio/icons/people/user
games55@unflowio/icons/games/gamepad
commerce48@unflowio/icons/commerce/cart
security-warnings47@unflowio/icons/security-warnings/shield
health-wellness46@unflowio/icons/health-wellness/heart
development46@unflowio/icons/development/code
time27@unflowio/icons/time/clock
brands21@unflowio/icons/brands/github
education9@unflowio/icons/education/book

Color

Icons inherit their color from CSS currentColor. Set the color via the color CSS property or a Tailwind text utility:

<CloudFog className="text-brand-500" />   /* inherits brand green */
<Google className="text-grey-600" />       /* inherits grey */