01Icons are a language, and mixed languages confuse people

An icon system mixing filled and outlined styles, two different stroke weights, and icons pulled from three different libraries doesn't read as varied — it reads as inconsistent, even to users who couldn't articulate why. Icons need to feel like they came from the same designer, because visually, they need to.

The fix is boring and effective: pick one icon library, one style (outline or filled, not both), one stroke weight, and stick to it everywhere, including custom icons that need to be drawn to match.

02Rules that keep an icon system coherent

  1. 01

    Fixed sizes, not arbitrary pixel values

    16px, 20px, 24px as the only allowed icon sizes. A 17px icon next to an 18px one looks like a rendering bug, not a deliberate choice.

  2. 02

    Consistent optical alignment with text

    An icon next to a label needs its baseline and vertical center actually aligned to the text, not just visually close — a 1-2px misalignment is subtle but reads as sloppy at scale.

  3. 03

    One meaning per icon, everywhere

    If a pencil icon means "edit" in one module, it can't mean "compose a message" in another. Reusing the same icon for different actions trains users to guess wrong.

  4. 04

    Every icon-only button needs an accessible label

    aria-label on every icon button isn't optional polish — without it, a screen reader announces nothing useful, and the button is functionally invisible to that user.

  5. 05

    Novel or ambiguous actions need a label, not just an icon

    Trash, edit, search and close are universally understood. "Reconcile," "escalate," "archive" are not. Pair uncommon actions with text; save icon-only treatment for the universal ones.

  6. 06

    Test icons with someone outside the project

    A team that's stared at an icon for weeks stops seeing its ambiguity. A quick "what does this button do?" check with someone unfamiliar catches confusing icons before users do.

03When text is just the better answer

Icons save horizontal space, but that's often the wrong trade in enterprise software, where the cost of a misread action (deleting the wrong record because the icon looked like archive) is much higher than the cost of a slightly wider button. When an action is destructive, uncommon, or specific to your domain rather than the general web, default to text, or text plus icon. Save icon-only for the handful of actions universal enough that a label would feel redundant.

04An icon component with no free sizes

An IconComponent with a 16 | 20 | 24 size union and an IconName type generated from the sprite removes most icon drift: no arbitrary pixel sizes, and no misspelled icon names that only fail at runtime.

Icon-only buttons get their own component that makes label a required input. Forgetting the accessible name stops being a review comment — it's a compile error.

shared/ui/icon.component.ts
@Component({
  selector: 'app-icon',
  template: `
    <svg [attr.width]="size()" [attr.height]="size()" aria-hidden="true" focusable="false">
      <use [attr.href]="'/assets/icons.svg#' + name()" />
    </svg>
  `,
})
export class IconComponent {
  name = input.required<IconName>(); // union generated from the sprite
  size = input<16 | 20 | 24>(20);
}

@Component({
  selector: 'app-icon-button',
  imports: [IconComponent],
  template: `
    <button type="button" [attr.aria-label]="label()" [title]="label()">
      <app-icon [name]="icon()" />
    </button>
  `,
})
export class IconButtonComponent {
  icon = input.required<IconName>();
  label = input.required<string>(); // no label, no build
}

The takeaway

A coherent icon system means one library, one style, fixed sizes, and one meaning per icon everywhere. For anything destructive, uncommon or domain-specific, pair the icon with a text label. The space saved by going icon-only rarely outweighs the cost of a misread action.

Written by Jaymin MahetaSenior UI/UX Developer turning Figma designs into fast, accessible enterprise apps in Angular and React.
About me →