Skip to content
WunderUI
General

Icons

Four icon sets work with WunderUI: Lucide, Solar, Hugeicons and Reicon. A component takes any icon that renders an , so you pick the set that suits the screen and stay with it.

The four sets

SetWhat it isSizeLicense
LucideRounded line icons on a 24 px grid. The glyphs inside WunderUI controls come from it.About 1,700 icons, 1 styleISCFree for personal and commercial use. Keep the copyright notice.
SolarA friendly set with six drawing styles per icon. Ships with WunderUI as ready-made components.1,451 icons, 6 stylesCC BY 4.0Free for commercial use. Credit 480 Design and say the icons were modified.
HugeiconsA large line set with a soft, rounded look. The free package has the stroke style.4,500+ icons, 1 style (free)MITFree for commercial use. Keep the license notice. The Pro package is a separate paid license.
ReiconA newer open-source set with an outline and a filled weight for every icon.2,600+ icons, 2 weightsMITFree for commercial use. Keep the license notice.

Lucide

Plain line icons that follow the text colour. The stroke width is a prop, and 1.5 matches the other sets best.

bash
npm install lucide-react

import { Bell } from "lucide-react"

<Bell className="size-5" strokeWidth={1.5} />
Bell
House
Search
Settings
User
Mail
StyleDrawing
strokeA rounded outline stroke. The width is set with strokeWidth; the default is 2.

Solar

Import from . Every export starts with , so it is never mistaken for another set in code or in Figma.

bash
import { SolarBell } from "@wunderui/react/icons/solar/bell"

<SolarBell variant="bold-duotone" className="size-5 text-primary" />
linear
line-duotone
bold
bold-duotone
broken
outline
StyleDrawing
linearA 1.5 px outline stroke with rounded caps. The default.
line-duotoneThe linear stroke with one part at 50 % opacity.
boldA solid filled glyph.
bold-duotoneA solid glyph with one part at 50 % opacity.
brokenA linear stroke with gaps in the outline.
outlineA thin filled contour in the shape of an outline.

Hugeicons

The free package has one style, Stroke Rounded. An icon is data, drawn by .

bash
npm install @hugeicons/react @hugeicons/core-free-icons

import { HugeiconsIcon } from "@hugeicons/react"
import { Notification01Icon } from "@hugeicons/core-free-icons"

<HugeiconsIcon icon={Notification01Icon} className="size-5" strokeWidth={1.5} />
Notification
Home
Search
Settings
User
Mail
StyleDrawing
strokeSoft, rounded lines. The width is set with strokeWidth; 1.5 is a good fit next to the other sets.

Reicon

Every icon comes in two weights, set with the prop.

bash
npm install reicon-react

import { Bell } from "reicon-react"

<Bell weight="Filled" size={20} />
Outline
Filled
Outline
Filled
Outline
Filled
Outline
Filled
Outline
Filled
Outline
Filled
WeightDrawing
OutlineA line drawing. The default.
FilledA solid glyph for the active or selected state.

Icons inside components

Put the icon next to the label and mark which side it is on. The component evens out its padding:

bash
<Button>
  <Plus data-icon="inline-start" />
  New project
</Button>

Size icons with the spacing scale, in buttons and menu items and in navigation and cards, and let them take the text color. This works with any icon component that passes and on to its .

One set per surface

Do not mix two sets on one screen. Stroke weight, corners and optical size differ, and the mismatch looks like a mistake. Different surfaces can use different sets: one template can use Solar while a block uses Reicon.