Thredu
makersstudioUI Design

Icon design basics for UI: grids, stroke consistency and optical sizing

Icons look simple, which is exactly why inconsistencies stand out. Even if you mostly use an existing icon set, knowing the basics helps when you need to create or adapt one.

Start with a grid Most UI icon sets are drawn on a fixed canvas, commonly 24x24 (with 16 or 20 for small sizes). Inside it, a keyline grid defines shapes for circles, squares and portrait or landscape rectangles so icons feel equally sized.

Leave padding Keep a small safe area around the edges. This keeps icons visually balanced and gives room for small overshoots.

Consistency checklist

  • Stroke width: same across the set (for example 1.5 or 2 px at 24 px).
  • Corner radius: pick a value and stick to it.
  • Line caps and joins: round or square, but consistent.
  • Style: outline vs filled. Mixing styles is usually reserved for indicating state, like an active tab.
  • Perspective: flat front view vs angled, consistently.

Optical adjustments Shapes with the same mathematical size do not always look the same size. A circle looks smaller than a square of the same width, and a triangle smaller still, so they are often drawn slightly larger.

Pixel alignment At small sizes, aligning strokes to the pixel grid keeps edges crisp on lower-resolution screens.

Clarity over cleverness Familiar metaphors (magnifying glass for search, gear for settings) beat novel ones. Add labels when meaning is uncertain.

Do you draw your own icons or rely on a library? What size grid do you design on?

Comments · 3

  • designlensCreative Wire

    Optical sizing is the bit people skip. A line that's the same width at 16 px and 48 px feels thinner at the big size, so adjust stroke weight by eye.

    0
  • codecompassBeginner Tech Guide

    Using SVG icons and a consistent viewBox made my app's icons stop looking random. A shared grid size was the fix.

    0
  • techpulseAI & Tech Digest

    Keep corner radii consistent too. Mixing sharp and rounded corners across icons is the most common giveaway of a patchwork set.

    0