Icon basics: styles and structure
250 PX

Icon Basics: Styles and Structure

Learn the main icon styles, how icons are built, and how to choose icons people understand.

7m read
13 exercises
250 PX

Icons are the small symbols people tap, scan and recognize every day. This lesson covers the main icon styles, how icons are built on containers, grids and keylines, and how to choose icons people will understand at a glance.

EXERCISE #1

Filled icons

Filled icons

Filled icons are drawn as solid shapes, like the home, heart, bookmark and bell in the example. Their strong silhouettes make them easy to spot.

Simple filled silhouettes can remain recognizable at small sizes, such as in a tab bar or next to a line of text. Keep the shapes simple, though: too much detail still gets lost.

Many products pair styles to show state: an outlined heart for "not liked" and a filled heart once it is liked. At large sizes, though, solid shapes can feel heavy, so keep them for small, functional uses.

EXERCISE #2

Colored icons

Colored icons

Colored icons use several colors or gradients, like the sun, leaf, camera and heart in the example. They feel friendly and expressive, and suit onboarding screens, empty states and marketing pages.

They are harder to fit into a calm interface. Next to text and controls, bright icons can pull attention away from the content that matters.

Use them with purpose: a few colored icons in a feature list can help, but a whole menu of them quickly feels busy.

EXERCISE #3

Duotone icons

Duotone icons

Duotone icons use two tones of the same color, like the folder, shield, envelope and bag in the example. One tone draws the main shape; the lighter one adds depth or a highlight.

A simple way to make one:

  • Start with a simple icon.
  • Split it into two layers, such as a main shape and a detail.
  • Give both layers the same hue.
  • Lighten one layer, or lower its opacity, until the two tones are clearly different.

Duotone adds interest without becoming loud. At very small sizes the two tones can merge, so check that the icon still reads clearly when it is tiny.

EXERCISE #4

Outlined icons

Outlined icons

Outlined icons are drawn with strokes and left open inside, like the home, heart, bookmark and bell in the example. They look light, clean and modern.

Thin strokes and open shapes carry less visual weight, which is why outlined icons are popular in minimal interfaces. The trade-off is that they can take a moment longer to recognize, especially at small sizes.

Keep the stroke width the same across the whole set, so every icon looks like part of one family.

EXERCISE #5

Icon container

Icon container

An icon container is the shape an icon sits in, often a square, rounded square or circle. In the example, the bell sits in the center of a rounded square container.

A visible container separates the icon from its surroundings and gives a group of different icons the same outer shape, which is why app icons and feature tiles often use one.

Containers can also be invisible. Many design systems draw every icon inside a fixed-size frame, such as 24 × 24 px, so icons of different shapes still line up and size consistently.

EXERCISE #6

Icon grid

Icon grid

An icon grid is a set of evenly spaced guides that icons are drawn on, like the lines behind the house in the example.

Drawing every icon on the same grid keeps sizes, line positions and spacing consistent, so a set of icons looks like it belongs together.

Pro tip: check icons at their intended display size and align strokes appropriately to the pixel grid, so they look crisp rather than blurry.

EXERCISE #7

Icon padding

Icon padding

Icon padding is the empty space between an icon and the edges of its container. In the example, the arrows mark the room left around the heart.

Padding keeps the icon from looking cramped and makes icons of different shapes look balanced when they sit side by side.

Padding can also help with tapping, but only when it sits inside the interactive button. Then the visible icon can stay small while the tappable area is larger. On Android, a 24 dp icon with 12 dp of padding on each side makes a 48 dp target, the recommended minimum; Apple recommends at least 44 × 44 pt.

EXERCISE #8

Icon keylines

Icon keylines

Keylines are guide shapes, usually a circle, a square and a rectangle, drawn on top of the icon grid. The example shows all three.

They help balance different shapes. A circle and a square of the same width do not look the same size, so each keyline is sized to make round, square and wide icons look equally big.

Keylines are guides, not rules. Follow them for most icons, and step outside them when a shape needs it.

Icon corner radius

Corner radius describes how rounded an icon’s corners are. The example compares a sharp square with a rounded one.

Corners shape the personality of an icon set. Sharp corners feel precise and technical, while rounded corners feel softer and friendlier.

Pick one corner treatment and use it across the whole set. One sharp icon among rounded ones will look out of place.

EXERCISE #10

Universal icons

Universal icons

Universal icons are symbols most people already know, like the magnifying glass for search, the bin for delete and the printer for print in the example.

For common actions, stick with these conventions. You can adjust the style to match your product, but swapping a magnifying glass for, say, a flashlight will only slow people down.

Even familiar icons need context. A label, a tooltip or a clear position helps, and an icon-only button still needs an accessible name for screen readers.

EXERCISE #11

Unique icons

Unique icons

Unique icons are made for a product’s own features. In the example, a calendar with a leaf stands for "Plan a habit", a feature people will not have seen elsewhere.

New users cannot guess what a unique icon means, so introduce it with a clear text label. Over time, regular users learn to recognize it.

Logos work the same way: a brand mark is instantly familiar to existing users and means little to everyone else.

EXERCISE #12

Conflicting icons

Conflicting icons

Some icons mean different things in different products. In the example, the same star means "Save item" in one place and "Rate item" in another.

It also works the other way round: one action can have several symbols. Products show "like" with a thumb, a heart or a star.

Inside your product, pick one meaning for each icon and one icon for each action, and use them consistently.

EXERCISE #13

SVG icons

SVG icons

SVG (Scalable Vector Graphics) stores an icon as shapes and paths instead of pixels. That is why the leaf in the example stays sharp at every size.

Reasons SVG is the usual choice for interface icons:

  • It scales to any size without losing sharpness.
  • Simple icons have small file sizes.
  • Inline SVG can be styled with CSS, including its color.
  • It can be animated.

Icon fonts are an older alternative. They are also vector-based, but browsers treat them as text, which can blur their edges, and they can show as empty boxes if the font fails to load. Pro tip: if an SVG icon is the only content of a button, give the button an accessible name.

REFERENCES

  1. 1. Material Design | Material Design
  2. 2. What Are SVG Icons: Scale Them AND Keep the Quality | Flat Icons

TOPICS

IconographyIconsTrailing IconUI DesignUser Interface (UI) ComponentsAssetsLayout & CompositionButtonsBrandingDesign System

FROM COURSE

UX Design Foundations
UX Design Foundations

Complete lesson quiz to progress toward your course certificate