UnflowUI
Icons

Icons

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

The @unflow-ui/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 @unflow-ui/icons

Importing icons

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

import { CloudFog } from '@unflow-ui/icons/weather-nature/cloud-fog';
import { Google } from '@unflow-ui/icons/social/google';
import { ChevronDown } from '@unflow-ui/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@unflow-ui/icons/flags/us
social240@unflow-ui/icons/social/twitter
office-editing234@unflow-ui/icons/office-editing/bold
maps-travel167@unflow-ui/icons/maps-travel/pin
design138@unflow-ui/icons/design/pen-tool
arrows122@unflow-ui/icons/arrows/arrow-right
math-finance116@unflow-ui/icons/math-finance/percent
system-devices107@unflow-ui/icons/system-devices/monitor
media97@unflow-ui/icons/media/play
communication82@unflow-ui/icons/communication/message
weather-nature79@unflow-ui/icons/weather-nature/sun
people71@unflow-ui/icons/people/user
games55@unflow-ui/icons/games/gamepad
commerce48@unflow-ui/icons/commerce/cart
security-warnings47@unflow-ui/icons/security-warnings/shield
health-wellness46@unflow-ui/icons/health-wellness/heart
development46@unflow-ui/icons/development/code
time27@unflow-ui/icons/time/clock
brands21@unflow-ui/icons/brands/github
education9@unflow-ui/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 */