Icon Size Guidelines for Web and Mobile UI

Use the right icon sizes for web and mobile interfaces with practical size tokens, spacing rules, and an interactive size advisor.

Amit Yadav
Amit Yadav

If icon sizes are inconsistent, the interface feels unpolished even when every icon is high quality.

Default size tokens

  • Web app UI: 16, 20, 24, 32
  • Mobile app UI: 20, 24, 28, 32
  • Use fewer tokens, not more

Interactive advisor

Use this to pick a stable token set for your surface and density.

Icon Size Advisor

Pick your UI context and get a practical icon size recommendation.

Recommended tokens
16px20px24px32px
Nearest match
24px

Spacing rules

  1. Keep icon container and text baseline aligned.
  2. For icon + label buttons, use 6px to 10px gap.
  3. Increase touch target before increasing icon size.
  4. Do not scale the same icon to too many intermediate sizes.
Practical default

For most product UIs, start with 20px for dense rows and 24px for primary actions.

Quick QA

  • Check icons at 100% and 125% zoom.
  • Check light and dark themes.
  • Check hover/focus states for legibility.
  • Check 1x and 2x displays.

Preview sample size

tabler:layout-dashboard24px
View pack →

Why token discipline matters

Uncontrolled icon sizes create subtle visual noise: buttons misalign, rows look uneven, and component spacing becomes harder to scale.

A small token set solves this:

  • predictable vertical rhythm
  • simpler component APIs
  • easier QA for responsive states

Team rollout plan

  1. publish approved size tokens
  2. map tokens to component types
  3. audit existing screens for one-off sizes
  4. refactor outliers incrementally

Once tokens are stable, visual consistency improves quickly.

Extended implementation notes

When you apply icon size tokens, also standardize line-height and button padding. Otherwise, even correct icon sizes can still look misaligned. A reliable pattern is to pair each icon token with a matching container token (for example, icon-20 with control-32).

In design reviews, evaluate icons in full components, not isolated canvases. Spacing, label weight, and hit target all affect perceived icon size.

Pre-release checklist

  • no custom one-off icon sizes in core components
  • touch targets remain accessible on mobile
  • icon and text baselines align in all button variants
  • small-size icons remain readable at 125% zoom

Final note

Once size tokens are defined, lock them into shared components and avoid page-level overrides. Consistency at component level is what makes the system reliable.

Keep design and engineering token names identical so documentation and implementation stay aligned.

If you enforce token usage in code review, this consistency benefit compounds quickly across new screens.

Keep this documented as a hard standard in your design system notes.

Additional source references: 1 2 3.

Sources

Footnotes

  1. Material Design: Icons

  2. Apple Human Interface Guidelines

  3. Nielsen Norman Group

Share this post