Foundations

Iconography

Phosphor Icons is the official library. Yuno uses only two of the six weights: light for default outline icons, fill for active/selected states.

Updated Jul 8, 2026 by Leonardo Posada

Weights we use

Only two weights are part of the Yuno vocabulary. Light is the default across the Dashboard; fill communicates active or selected state.

weight="light"

Default weight for all outline icons across the Dashboard, prototypes, and marketing.

weight="fill"

Active state: selected nav item, badges with state, filled toggles.

Sizes

Controlled with Tailwind size-* classes, not the icon size prop.

ClassPixelsPreviewUse for
size-312pxInline in labels and chips.
size-3.514pxSmall buttons, hints.
size-416pxDefault in buttons/inputs/nav items.
size-520pxCard headers, action tiles.
size-624pxEmpty states, section headers.

Common icons

The most used at Yuno. The full library is at phosphoricons.com.

MagnifyingGlass
Bell
Gear
User
CreditCard
ChartBar
Sparkle
Warning
CheckCircle
Info
ArrowRight
Plus
Trash
X

Usage

Do
  • Import from @phosphor-icons/react/dist/ssr so it works with Server Components.
  • Default weight="light". Switch to weight="fill" for active/selected states only.
  • Size with Tailwind classes (size-4), not the size prop.
  • When copying shadcn examples, always change weight from regular → light.
Don't
  • Don't use weight='thin', 'regular', 'bold' or 'duotone' — not part of the Yuno vocabulary.
  • Don't mix libraries (Hugeicons, Lucide, Heroicons) — only Phosphor.
  • Don't use Unicode arrows (→, ←) where an icon belongs.
  • Don't apply hardcoded color — inherit from the container's text-*.

Not used at Yuno

Not used at Yuno
Only light and fill.
The other four Phosphor weights — thin, regular, bold, duotone — are not part of the Yuno Dashboard visual vocabulary. If you copy shadcn or docs examples that use weight='regular', switch to weight='light' before shipping.
Not used at Yuno
weight="thin"

Not used — too fragile at the sizes we display icons.

weight="regular"

Not used — shadcn/Phosphor default, but too heavy against Yuno's clean type.

weight="bold"

Not used — overloads emphasis; use fill or a Badge for state.

weight="duotone"

Not used — reserved elsewhere for illustrations, not UI.

Import pattern

Server-safe imports.
Always import from @phosphor-icons/react/dist/ssr. The /dist/ssr subpath emits Server Components-safe code and avoids the hydration warning in Next.js.

Official resources