Icons and labels: when an icon is not enough

Beginner  Nov 3, 2026

Use icons that people understand, and add text when meaning is not obvious.

Icons and labels: when an icon is not enough
The steps of this tutorial at a glance.
The steps of this tutorial at a glance.

The problem

Many icons are not universal. A heart can mean like, favourite or health. A gear usually means settings, but a three-dot icon can hide anything.

Icons and labels: when an icon is not enough
Icons and labels: when an icon is not enough

Rules

1. Add a text label next to the icon wherever space allows. It removes guessing.
2. Use icons only for well-known meanings: search, home, close, print, delete, settings.
3. Keep one style: same stroke width, same corner shape and size.
4. Make icon buttons large enough: 44 px touch area, even if the drawn icon is 24 px.
5. Give every icon-only button an accessible name (aria-label).

<button type="button" aria-label="Close dialog">&times;</button>
How the code in this section fits into the page.
How the code in this section fits into the page.

Test

Show your screen to five people with the labels hidden. Ask what each icon does. If several guess wrong, add a label.

Decoration

Decorative icons that add no meaning should be hidden from screen readers with aria-hidden="true".

Where to find icons

Use a consistent open-source set (check the licence), or draw your own as SVG. SVG scales to any size and can follow your text colour with currentColor.

Tip

Colour should not be the only way an icon shows state. A red heart and a grey heart are not enough for some users. Fill the shape too.

More tutorials