Design principles
How to decide when a numeric rule does not settle a design question: meaning first, then clarity, consistency, optics and geometry.
Last updated
An icon is a compact visual sign. Its job is to communicate a concept or an action quickly, consistently and with as little ambiguity as practical. The goal is not to make every icon geometrically identical. The goal is to make every icon feel intentional and recognisably part of one system.
The design specification gives the numbers. This page explains how to decide when a number does not fully resolve a design problem.
Principle hierarchy
When design goals conflict, use this order:
- Semantic accuracy. The icon must represent the intended concept.
- Recognizability. People should identify its meaning in context.
- Clarity. Its essential features must stay distinguishable.
- System consistency. It should fit the visual language of the set.
- Optical quality. Its proportions, weight and balance should feel right.
- Geometric regularity. Its construction should be clean and systematic.
- Minimality. Remove details that do not improve communication.
The order is on purpose. Do not distort a recognisable object only to satisfy a grid, a symmetry or a minimalism target.
Clarity before decoration
Every visible element should communicate shape, structure, state or meaning.
Do
- Keep the features that distinguish the concept.
- Remove details that do not improve recognition.
- Use clear silhouettes and deliberate negative space.
- Make the primary form visually dominant.
Do not
- Add decoration only to make an icon look distinctive.
- Add tiny details that disappear at common interface sizes.
- Use ornamental lines that compete with the main concept.
- Make an icon more complex than its use needs.
Recognizable metaphors
Choose a metaphor people can reasonably connect with the concept.
Before drawing:
- Define the concept in one sentence.
- List its most recognisable visual attributes.
- Search the collection for related or duplicate concepts (
icon.py search). - Consider conventions people already know from interfaces.
- Check that the metaphor cannot be read as a different action or object.
Use an established metaphor when it communicates more clearly than an original abstraction. Originality helps only when it does not reduce understanding.
Consistency without uniformity
Consistency is a quality of the system, not a demand that every icon share one silhouette.
Related icons share stroke character, corner and terminal treatment, proportions where appropriate, perspective, detail density, spacing logic and optical scale.
Different objects need different proportions. A key, a circle, a document and a person should not be forced into the same bounding box.
Do reuse conventions where they make the set coherent. Do not impose symmetry, identical dimensions or identical construction on concepts that do not call for them.
Optical balance
An icon can be mathematically centred and still look off-centre. Visual mass, direction, silhouette and empty space all change how aligned something looks.
Evaluate:
- The visual centre of gravity.
- How filled and stroked areas are distributed.
- The empty space on each side.
- The apparent size against neighbouring icons.
- Directional emphasis, such as a pointing arrow.
- Whether a small optical shift improves it.
Optical adjustment is permitted and often necessary. It must keep the intended geometry and meaning.
Visual weight and density
Stroke width alone does not decide visual weight. Filled area, line count, shape distribution and negative space all count.
When reviewing a group of icons, compare them at the same rendered size, compare their apparent darkness and density, and check whether one dominates without a reason. Adjust internal detail or proportions before changing the standard stroke.
Do not make every icon equally dense. A simple concept stays simple.
Negative space is part of the drawing
Empty areas define boundaries and separate elements. They are not leftover space. Use negative space to separate adjacent forms, keep counters and openings, clarify overlaps, stop strokes merging at small sizes, and create recognisable inner shapes.
Do not let an important gap collapse at the smallest supported size. The 24-unit spacing rule in the specification is a starting point, not a substitute for testing at the real size.
Geometry serves the concept
Use circles, rectangles, lines, arcs, polygons and Bézier curves as construction tools. Prefer clean geometry, but do not make an organic object mechanical. A curve may need to leave a grid to look right. A real object may have an asymmetric silhouette that should stay asymmetric. Use the simplest geometry that shows the form.
Perspective and visual representation
Icons of three-dimensional objects need one deliberate representation: front, side, top-down, isometric or a simplified three-quarter view. Do not mix incompatible viewpoints in one icon unless the concept requires it. Avoid perspective detail that adds complexity without helping recognition.
Small-size-first evaluation
The canvas is 256 × 256 units, but icons are shown at 16, 20 or 24 pixels most of the time. Judge them at the real size, not only enlarged in an editor. At small sizes, simplify details that become noise, keep essential gaps, avoid fragile one-pixel features, and check that strokes do not merge.
Do not distort the master drawing only to improve one unusual size.
Family identity
A weight is a treatment of a concept, not a redraw. When making outline, fill and duotone versions: keep the same meaning, keep the defining silhouette recognisable, translate structural detail into what suits the weight, keep a comparable optical size, and make sure the version works on its own.
A filled icon does not have to be a literal expansion of its outline. It does have to show the same thing. See Weights and roles.
Color restraint
Generic icons inherit their color from the interface: use currentColor. Color should not be needed to understand the core meaning. A duotone icon may use a second tone for hierarchy but must stay understandable without it. Brand marks and deliberately multicolor assets are the exception, and are identified as such.
Accessibility and cultural context
Icons are not understood by everyone just because they are pictures. Metaphors differ across languages, regions and professions. Avoid relying on color alone, avoid unnecessarily culture-specific metaphors, check ambiguous symbols, and recommend a text label when the meaning is not obvious. The interface that uses the icon remains responsible for accessible names and interaction. See Design accessibility.
Do and don’t
Do
- Design for meaning first.
- Search for existing concepts before adding new ones.
- Use simple, recognisable silhouettes.
- Treat negative space as a shape.
- Compare icons as a collection.
- Apply optical corrections when needed.
- Test at real interface sizes.
- Record justified deviations.
- Keep identity across weights.
Do not
- Add detail with no communication purpose.
- Force mathematical symmetry.
- Force every icon to occupy the same apparent area.
- Mix unrelated perspectives.
- Use color as the only carrier of meaning.
- Copy another library’s artwork.
- Trade clarity for novelty.
- Accept an icon because its SVG is valid.
Design decision record
For a significant exception or a disputed decision, record:
- Icon: the canonical name.
- Issue: the problem.
- Decision: the treatment chosen.
- Reason: how it improves meaning, clarity or visual quality.
- Alternatives: what else was considered.
- Impact: affected weights, sizes or existing assets.
Recorded decisions live in Design decisions.
The last principle
A successful Xerobi icon communicates its meaning clearly, stays recognisable at its intended size and belongs naturally to the set. The system should feel coherent without making every subject look the same.