Skip to content

Foundations

Iconography

MingCute icons in three sizes, always paired with a word or an accessible name.

Library
MingCute, Apache-2.0
Subset
111 icons of 3,336
Sizes
16, 20 and 24px

Rules

Icons are masks over currentColor: they take the text color.

Use

  • Outline icons for actions and navigation.
  • Filled icons for status only.
  • Visible text, or an accessible name and a tooltip.
  • Tint only on status glyphs.
  • Fixed status shapes: circle, triangle, octagon.

Avoid

  • Filled icons as decoration or selected state.
  • Icon-only navigation or status.
  • Sizes other than 16, 20 and 24px.
  • Colored icon tiles and multi-color icons.
  • A status shape for another meaning.

Sizes

16px with 12px text, 20px with 14px and 16px text, 24px for empty states and headers.

Status glyphs

Each status has a shape, a word and a color. The grayscale row shows it reads without color.

Status glyphs
StatusShapeWho acts next
OpenEmpty ringYou; not started
In progressRing with a play markYou; under way
PendingClockSomeone else (gray)
ResolvedFilled circle with a checkNobody; done (green)
ClosedArchive boxNobody; filed (gray)
At riskFilled triangleYou, urgently
BreachedFilled octagonYou, now

Using an icon

Adding an icon

  1. Find the icon on mingcute.design, for example bookmark-line.
  2. Add the name to tools/icons.txt.
  3. Run node tools/build.mjs --icons to regenerate css/icons.css. It fails if the name does not exist.
  4. Use it as sg-icon--bookmark-line. The build fails on any class missing from the set.

MingCute is Apache-2.0. tools/icons.json keeps its source and license notice.

Do and don't

Icon and word.The word carries meaning.
Bare icons as controls.No name, no focus.
Breached
Fixed shape, fixed word.Octagon: breached or error.
Borrowed shapes and swapped colors.Breaks the vocabulary.