# Icons

> Icons drawn for your project, with careful construction rules and a signature of your brand.

Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service).  
Source: https://design.docs.sypnia.com/guide/icons/

For agents: Icons: never from a stock set. Construction discipline shared with Sypnia's own set: 24 px grid, 2 px padding (20 px live area), one stroke width for the whole set (brand chooses, e.g. 1.5–2 px), one cap and join style, curves as arcs of circles with a few fixed radii, optical balance between round and square shapes, one idea per icon, no text, legible at 16/20/24 px. Plus the brand's signature: one recognizable trait (Sypnia: the open lid and the light; La Espiga: stroke ends cut like a grain, and a small grain dot as its accent). Rules in design/icons/rules.yaml; icons as design/icons/<name>.svg using currentColor; design check icons verifies grid, padding, stroke, caps, signature and names. A screen that needs a missing icon triggers a proposal.

Your icons are drawn for your project. Design never fills a screen with icons from a stock set, because those make every app look the same.

## The construction rules

Every icon set made with Design follows the same discipline Sypnia uses for its own set. The rules make a set look like one hand drew it:

| Rule                       | What it means                                                              |
| -------------------------- | -------------------------------------------------------------------------- |
| **Grid**                   | every icon is drawn on a 24 px grid                                        |
| **Padding**                | 2 px of air on every side, so the live area is 20 px                       |
| **One stroke**             | one stroke width for the whole set, chosen by the brand                    |
| **One cap and join style** | round, or square, everywhere                                               |
| **Curves are arcs**        | curves are arcs of circles with a few fixed radii                          |
| **Optical balance**        | a circle is drawn slightly larger than a square so they look the same size |
| **One idea**               | one thing per icon; no words, no letters                                   |
| **Small sizes**            | legible at 16, 20 and 24 px                                                |

## Your brand's signature

On top of the rules, each brand gets one trait that makes its icons its own. Sypnia's is the open lid and the light: outlines never close, and one small light marks the thing to look at. La Espiga's comes from its logo: the ends of strokes are cut like a grain of wheat, and a small grain dot marks the accent.

The signature is written in `design/icons/rules.yaml`, with a picture, so anyone drawing a new icon knows it.

## Files

```text
design/icons/
├─ rules.yaml        the grid, stroke, caps, radii and the signature
├─ bag.svg           an order
├─ clock.svg         pick-up time
└─ wheat.svg         today's bread
```

Each icon uses `currentColor`, so it takes the colour of its text. `design check` verifies every icon against `rules.yaml`: grid, padding, stroke, caps and joins, the signature, and that its name is used by some screen.

## When a screen needs a new icon

The agent does not borrow one. It proposes a new icon, drawn with the rules, shown at 16, 20 and 24 px next to the icons it will live with. A person approves it, and it joins the set.
