---
name: swiss-style-ui
description: Design and review web UI in the Swiss Style (International Typographic Style). Use when the user asks for a Swiss, International Typographic, grid-based, Müller-Brockmann, Helvetica-style, or "objective minimal" interface, or when a content-heavy UI needs strict order, clear hierarchy and one accent color.
license: MIT
copyright: © 2026 Leonardo (MedaiP90)
---

# Swiss Style: Web UI Design System

## Purpose

Use this skill to build or review web interfaces in the Swiss Style. The Swiss Style puts the message first. The grid controls the layout. Type creates the hierarchy. One accent color carries meaning. Nothing in the UI is decoration.

The style started in Zürich and Basel (Ernst Keller, from 1918) and peaked in the 1950s–60s. Josef Müller-Brockmann formalized the modular grid. Armin Hofmann, Emil Ruder and Max Bill developed the method. The magazine *Neue Grafik* (1958–65) spread it. After WWII it became the language of corporate identity.

## When to use

- Dashboards, documentation, editorial sites, data products, portfolios, corporate sites.
- Any UI where the reader must scan and understand content fast.
- Do not use it when the brief asks for a loud, playful or emotional brand. Use `neo-brutalism-ui` or `constructivism-ui` for that.

## Core rules

1. **The grid comes first.** Define the grid and the spacing scale before you place content. Every element snaps to the grid.
2. **Objectivity.** Present the content. Do not present the designer. Every element must serve the reader.
3. **Remove decoration.** Remove each element one at a time. If nothing breaks, the element was decoration. Delete it.
4. **Type is the interface.** Use one neutral sans-serif family, two at most. Make hierarchy with size and weight. Do not make hierarchy with many typefaces.
5. **Flush left, ragged right.** Align text to the left. Do not justify text. Do not center body text or headlines.
6. **Asymmetric balance.** Do not center the layout as a whole. Balance a large block with white space or a small block on the other side.
7. **White space is material.** Empty space is part of the composition. Content must earn its place.
8. **Restrained color.** Use black, white, grays and one accent. The accent marks meaning only.
9. **Images inform.** Use photography, data visuals and diagrams. Do not use decorative illustration.

## Design tokens

Define all values as CSS custom properties. Use only these values in components.

```css
:root {
  /* Color: black, white, grays, one accent */
  --color-ink: #111111;        /* text, rules: 18.9:1 on white */
  --color-paper: #ffffff;
  --color-gray-700: #6b6b6b;   /* secondary text: 5.3:1 on white */
  --color-gray-300: #d4d4d4;   /* hairlines, disabled borders (not for text) */
  --color-gray-100: #f2f2f2;   /* subtle fills */
  --color-accent: #e30613;     /* Swiss red: 4.9:1 on white */

  /* Type: one neutral grotesque */
  --font-sans: "Helvetica Neue", Helvetica, "Inter", Arial, sans-serif;

  /* Type scale: ratio 1.25 (major third), base 16px */
  --step--1: 0.8rem;    /* 12.8px  caption, label */
  --step-0:  1rem;      /* 16px    body */
  --step-1:  1.25rem;   /* 20px    lead, h4 */
  --step-2:  1.563rem;  /* 25px    h3 */
  --step-3:  1.953rem;  /* 31px    h2 */
  --step-4:  2.441rem;  /* 39px    h1 */
  --step-5:  3.815rem;  /* 61px    display (skip a step for contrast) */

  --leading-body: 1.5;
  --leading-tight: 1.1;   /* display and headings */
  --tracking-display: -0.02em;
  --tracking-label: 0.04em;

  /* Spacing scale: 4/8 base */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;

  /* Grid */
  --grid-columns: 12;
  --grid-gutter: var(--space-4);
  --grid-margin: clamp(16px, 5vw, 64px);
  --grid-max: 1280px;
  --measure: 66ch;          /* text column: 45–75 characters */

  /* Lines and corners */
  --rule: 1px solid var(--color-ink);
  --rule-strong: 4px solid var(--color-ink);
  --radius: 0;
}
```

If you need a stronger contrast between levels, use the 1.333 (perfect fourth) ratio. Do not mix two ratios in one product.

## Typography

- Use one family. "Helvetica Neue" or Helvetica is the historical choice. Inter is a free fallback with good screen rendering. Akzidenz-Grotesk and Univers are also correct if the project has a license.
- Use two or three weights only: regular (400), medium (500) or bold (700).
- Set headings in bold or medium, with `--leading-tight` and negative tracking at display sizes.
- Set body text at `--step-0` with `--leading-body`. Keep each text column at `--measure` or less.
- Use small caps or uppercase only for short labels. Add `--tracking-label` to uppercase labels.
- Use tabular figures in tables and numeric data: `font-variant-numeric: tabular-nums;`.
- Do not use italic, outline, shadow or gradient text for emphasis. Use weight or the accent color.

## Grid and layout

- Use a 12-column CSS grid at every breakpoint. On small screens, place items across 12 columns. Do not switch to a different column count.
- Align the left edge of all text blocks to column lines. A reader must see a few strong vertical axes.
- Use a baseline rhythm: make all vertical spacing a multiple of 8px.
- Make asymmetric compositions. Common patterns:
  - Label column (2–3 columns) on the left, content column (7–9 columns) on the right.
  - Large headline across 8 columns, empty space in the remaining 4.
- Break the grid only on purpose, for example a full-bleed photo. Each break must have a reason.

```css
.grid {
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
  column-gap: var(--grid-gutter);
  max-width: var(--grid-max);
  margin-inline: auto;
  padding-inline: var(--grid-margin);
}
.span-label   { grid-column: 1 / span 12; }
.span-content { grid-column: 1 / span 12; }
@media (min-width: 768px) {
  .span-label   { grid-column: 1 / span 3; }
  .span-content { grid-column: 4 / span 9; }
}
.full-bleed { grid-column: 1 / -1; margin-inline: calc(var(--grid-margin) * -1); }
```

## Color

- Use black text on white as the base. Use grays for secondary information.
- Reserve `--color-accent` for:
  - the primary call to action,
  - status (error, active, current page),
  - one key emphasis per view.
- Do not use the accent for large decorative areas. One exception is a single poster-like hero block, if it carries the main message.
- Do not use gradients.
- For dark mode, invert ink and paper. Keep the same accent. Check the accent contrast on the dark background again.

## Components

**Buttons**
- Primary: accent fill, white text, no radius, no shadow.
- Secondary: 1px ink border, ink text, transparent fill.
- Text button: ink text with an underline.
- Padding: `var(--space-2) var(--space-4)`. Minimum target size: 44 × 44px.

**Links**
- Underline links in body text. The underline is information, not decoration.
- Hover: change the color to the accent. Keep the underline.

**Navigation**
- Horizontal text links, flush left, aligned to the grid.
- Mark the current page with weight or the accent. Do not use pills or tabs with shadows.

**Cards and sections**
- Do not use card boxes with shadows. Separate content with white space and 1px rules.
- Use a 4px top rule (`--rule-strong`) to start a major section.

**Tables**
- Use horizontal 1px rules only. Do not use vertical rules or zebra stripes.
- Align numbers to the right. Align text to the left.
- Make the header row bold or uppercase with label tracking.

**Forms**
- Put the label above the field, flush left.
- Fields: 1px ink bottom border or full 1px border, no radius.
- Show errors in the accent color with a text message. Do not use color only.

**Icons**
- Use icons only when they add meaning that text cannot give in the same space. Use simple line icons with a constant stroke. Always pair an icon with a text label in navigation.

## Images and data

- Use objective photography: real products, real places, real people. Crop with strong, rectangular frames aligned to the grid.
- Black-and-white photos with an accent overlay are a classic Swiss pattern.
- Charts: thin lines, direct labels, no 3D, no shadows. Use ink and grays for data, and the accent for the one series that matters.

## Motion

- Remove animations that add no meaning.
- Allowed: short state transitions (100–200ms, `ease-out`) on hover, focus and expand/collapse.
- Respect `prefers-reduced-motion: reduce`.

## Accessibility

- Text contrast: 4.5:1 minimum for body text, 3:1 for large text. The tokens above pass on white.
- Focus: show a 2px solid outline in ink or accent with a 2px offset. Never remove the outline.
- Do not use color as the only signal for status or links.
- Keep the DOM order the same as the visual reading order. Asymmetry must not change the reading order.

## Do and do not

| Do | Do not |
|---|---|
| Define the grid first | Place items by eye |
| One sans-serif family | Mix three or more typefaces |
| Hierarchy by size and weight | Hierarchy by color, boxes and icons |
| Flush left, ragged right | Centered or justified text |
| One accent with a meaning | Several bright colors |
| White space as structure | Fill every empty area |
| Photos and data visuals | Decorative illustrations, stock clip art |
| 1px rules to separate | Card boxes with drop shadows and round corners |

## Review checklist

Before you deliver, check each item:

- [ ] All spacing values come from the spacing scale.
- [ ] All font sizes come from the type scale.
- [ ] Every element aligns to a column line of the 12-column grid.
- [ ] Text is flush left, ragged right. No centered body text.
- [ ] The view has one accent color, and each use of it has a meaning.
- [ ] No gradients, no decorative shadows, no decorative icons.
- [ ] Each grid break has a reason.
- [ ] Contrast and focus states pass the accessibility rules.
- [ ] Remove-one-element test: no element is decoration.

## Reference works

Study these for composition. Do not copy them.

- Josef Müller-Brockmann: concert posters for the Tonhalle Zürich, *der Film* (1960), *Grid Systems in Graphic Design* (1981).
- Armin Hofmann: theatre posters for Basel; *Graphic Design Manual* (1965).
- Ernst Keller: Zürich posters from the 1920s–30s.
- Max Bill: exhibition posters with pure geometric grids.
- Web pattern: a 12-column grid with five black blocks and one red block (Swiss Themes example).

## Sources

- [Swiss Style (design), Wikipedia](https://en.wikipedia.org/wiki/Swiss_Style_(design))
- [Swiss Style: Principles, Typefaces & Designers, PRINT Magazine](https://www.printmag.com/featured/swiss-style-principles-typefaces-designers/)
- [Swiss Design for Web Designers, Swiss Themes](https://swissthemes.design/insights/swiss-design-for-web-designers)
