Icon principles

Principles for using icons clearly, consistently, and accessibly across SGDS interfaces.

Principles

Create visual consistency

Icons should be consistent in layouts, not only in their look and feel but in their placement within a page or component.

Visually pleasing

An eye-catching and appealing graphic helps people perform tasks quicker and more easily.

Keep icons simple and schematic

Reduce the amount of graphic details by focusing on the basic characteristics of the object rather than creating a highly realistic image in order to speed up recognition.

Rules and guide

Design on purpose

Icons, like all elements of good design, must have a clear purpose. Before you even think about what sort of icons you want, you need to ask yourself: why?

Size really matters

The promise of nascent technologies, such as SVG and icon fonts, is yet to be realised, so for now we have to think about size and scalability.

Prioritise recognition over recall

Icons are fast to recognise at a glance, if well designed. This is particularly true for standard icons that people have seen and used before.

Icons need a text label

To help overcome the ambiguity that almost all icons face, a text label must be present alongside an icon to clarify its meaning in that particular context.

Characteristics

Characteristics that define how SGDS icons look, behave, and work across interface contexts.

Line, solid and logo variants

SGDS icons (govicons) are available in line, solid and logo variants.

Occasionally, only one style is available for aesthetic reasons.

Size

Set the size of icons using icon-size tokens. Available sizes on our system:

  • 16 × 16
  • 20 × 20
  • 24 × 24 (base)
  • 32 × 32
  • 48 × 48
  • 64 × 64

Base grid

Icons are drawn on a pixel-based grid of 24 × 24 px and scaled down linearly to different sizes. Use the grid as your basic guideline to snap the artwork in place.

100% scale
24 px
24 px
1000% scale
24 px
24 px

Padding

The grid contains 2 px padding, which helps icons retain their desired scale.

2 px
2 px
2 px
2 px

Live area

White space surrounding the 20 × 20 px live area.

20 px
20 px
20 px
2 px

Keyline shapes

Keylines give you consistent sizes for basic shapes or proportions across the icon set. These basic shapes help unify system icons and regulate their placement on the icon grid.

Available shapes on our system:

  • Square
  • Circle
  • Horizontal rectangle
  • Vertical rectangle

Corner radius

Corner radius is 2 px by default. Interior corners should be square if the radius is 1 px.

The 2 px radius can be increased by 2 px when necessary to make the icon's metaphor clear. Use an additional radius to make the metaphor reflect the real form of the object.

1 px
2 px
4 px
6 px
8 px

Stroke alignment

Stroke placement affects an icon's overall appearance, depending on whether the stroke is placed on the inside, centre, or outside of a shape. In most cases, the stroke is best aligned with the centre of a shape.

Use consistent rounded stroke terminals.

Stroke terminal

Use consistent rounded stroke terminals.

Stroke size

Use a consistent stroke width, including curves, angles, and both interior and exterior strokes.

One icon should not look heavier or lighter than other icons of the same size. Maintain the same visual weight by using a 1.25 px stroke when designing all icons.

1.25 px

Angles

Use 45 degree angles for even anti-aliasing whenever that angle is logical or use increments of 15 degree for all other angles. You can create harmony across the icon set by making angles sit on the same increments.

120°

Complex icon shapes

If an icon requires complex details, subtle adjustments can be made to improve its legibility. These adjustments are referred to as optical corrections.

1.2 px
1 px

Icon size with container

Use the right icon size within containers such as icon buttons.

Icon button background
Icon size
Safe area

Pairing with text

Icon sizes are optimised to feel balanced when paired with buttons, text links, body copy or actionable elements.

Link label

Counter space

Keep at least 2 px of counter space between lines or shapes.

2 px

Singapore Government Design System

The Singapore Government Design System was developed to empower teams in creating fast, accessible and mobile-friendly digital services.