UI Interface

Icon library

A curated set of 257 lucide icons and 144 Phosphor icons. Click any tile to copy its class name, filter by name, and change the preview size.

257 lucide 144 phosphor

Browse icons

Click a tile to copy its class name.

General 39

Arrows 23

Business 21

Communication 20

Files 21

Media 21

Devices 20

Weather 18

Commerce 17

People 19

Charts 18

Status 20

Sizing

Icons are font glyphs: they scale with font-size.

<i class="icon-bell text-[18px]"></i>
<i class="icon-bell text-[32px]"></i>
<i class="ph ph-bell text-[24px]"></i>

Color

Icons inherit currentColor. Use tokens, never hex.

<i class="icon-heart" style="color:var(--color-primary-600)"></i>
<i class="icon-heart text-[var(--sx-danger)]"></i>

Spin animation

Wrap a loader glyph in a rotating element. Stops under reduced motion.

<span class="ui-spin"><i class="icon-loader-circle"></i></span>

.ui-spin { display: inline-block; animation: ui-rot 1s linear infinite; }
@keyframes ui-rot { to { transform: rotate(360deg); } }

Icon tiles

sx-tile puts an icon in a tinted square; data-tone sets the hue.

<span class="sx-tile" data-tone="success"><i class="icon-circle-check"></i></span>
<span class="sx-tile sx-tile--sm sx-tile--ring" data-tone="violet"><i class="icon-sparkles"></i></span>

Usage notes

  • Lucide uses the icon-name class, Phosphor needs both ph and ph-name.
  • Stay with one set per surface; lucide is the default, Phosphor covers brand logos.
  • Use 16 to 20px inline with text and 24px or more for tiles and empty states.
  • Decorative icons need no label; icon-only buttons need an aria-label.
  • Never use an icon as the only signal of status, pair it with text.
  • Names come from lucide-static codepoints.json and the Phosphor regular stylesheet.

Hi, I’m Nova! Need a hand?