---
name: bauhaus-ui
description: Design and review web UI in the Bauhaus style. Use when the user asks for a Bauhaus, geometric, primary-color, "form follows function", Bayer or Moholy-Nagy inspired interface, or when a UI needs clear function expressed through circles, squares, triangles and red, yellow and blue.
license: MIT
copyright: © 2026 Leonardo (MedaiP90)
---

# Bauhaus: Web UI Design System

## Purpose

Use this skill to build or review web interfaces in the Bauhaus style. The Bauhaus joins art, craft and technology. Form follows function. The style uses basic geometric shapes, primary colors as structure, and geometric sans-serif type. It allows controlled experiment: a layout can break the grid when the break helps the message.

The Staatliches Bauhaus was active in Germany in the 1920s and early 1930s. Walter Gropius founded it. Herbert Bayer, László Moholy-Nagy, Josef Albers and Jan Tschichold (*Die neue Typographie*, 1928) shaped its graphic work.

## When to use

- Product sites, cultural and education sites, design tools, portfolios, exhibition and event pages.
- Brands that want to look rational and functional but also warm and confident.
- Do not use it for dense data UIs with many states. The primary colors compete with status colors. Use `swiss-style-ui` for that.

## Core rules

1. **Form follows function.** Every shape and color has a job: it groups, points, separates or marks an action. If an element has no job, remove it.
2. **Geometry.** Build the visual language from the circle, the square and the triangle, plus straight lines and bars.
3. **Primary colors as structure.** Use red, yellow and blue with black and white. Use color to build blocks and zones. Do not use color as a decoration on top of the layout.
4. **Geometric sans-serif type.** Use type built from circles and straight lines. No ornament.
5. **Simplicity.** No ornament, no texture for its own sake, no soft effects.
6. **Universality.** The UI must be clear across languages. Shapes and color codes must work without text where possible, but always keep a text label for accessibility.
7. **Controlled experiment.** You can overlap shapes and type, break the grid, and combine type with photography (Moholy-Nagy's *typophoto*). Each experiment must keep the content readable.

## Design tokens

```css
:root {
  /* Color: primaries + black + white */
  --color-red: #be1e2d;      /* white text on red: 6.2:1 */
  --color-yellow: #f2b705;   /* black text only: 10.4:1 */
  --color-blue: #1f3f99;     /* white text on blue: 9.4:1 */
  --color-black: #111111;
  --color-paper: #f4efe6;    /* warm off-white, like printed paper */
  --color-white: #ffffff;
  --color-gray: #5e5e5e;     /* secondary text: 5.7:1 on paper */

  /* Type: geometric sans */
  --font-display: "Futura PT", Futura, "Jost", "Century Gothic", sans-serif;
  --font-body: "Jost", "Futura PT", Futura, "Helvetica Neue", Arial, sans-serif;

  /* Type scale: ratio 1.333 (perfect fourth), base 17px */
  --step--1: 0.8rem;
  --step-0:  1.0625rem;  /* 17px body: geometric faces have a small x-height */
  --step-1:  1.417rem;
  --step-2:  1.889rem;
  --step-3:  2.518rem;
  --step-4:  3.357rem;
  --step-5:  5.96rem;    /* display, used once per view */

  --leading-body: 1.55;
  --leading-tight: 1.0;
  --tracking-caps: 0.08em;

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

  /* Shape */
  --bar: 8px;             /* thick structural bar */
  --rule: 2px solid var(--color-black);
  --radius-none: 0;
  --radius-circle: 50%;
}
```

## Color rules

- Use one primary color as the dominant color of a view. Use the other two in small amounts.
- A good proportion: 60% paper or white, 25% black type and bars, 15% primaries.
- Give each primary one fixed role in the product and keep it. Example:
  - Red: primary action and "important".
  - Blue: navigation and information.
  - Yellow: highlight and selection background.
- **Yellow is never a text color on a light background.** Use black text on yellow.
- Do not use tints, gradients or transparency of the primaries. Use flat, full-strength color.
- Do not add a fourth hue (green, purple, orange). If you need a success state, use black with an icon and a text label, or a blue shape.

## Typography

- Use one geometric sans family. Futura is the historical reference. Jost is a free Futura-like face. Other period faces: Kabel, Gill Sans, Erbar.
- Herbert Bayer's *Universal* (1926) used only lowercase. You can use all-lowercase for display headlines and navigation to give a Bauhaus voice. Do not use all-lowercase for body text, legal text or proper names in forms.
- Use uppercase with `--tracking-caps` for short labels.
- Make hierarchy with size first, then weight, then color.
- Type can be rotated 90° for a short vertical label on a bar or a block edge. Body text is always horizontal.
- Do not use decorative "Bauhaus" display fonts (for example Bauhaus 93). They are later pastiche, not Bauhaus type.

## Shape system

Treat shapes as functional components, not as wallpaper.

| Shape | Function in the UI |
|---|---|
| Circle | Focus, a point of attention, an avatar, a status dot, a step number |
| Square / rectangle | Container, card, image frame, button |
| Triangle | Direction: "next", "play", expand/collapse, a pointer to the key element |
| Bar (thick line) | Separate sections, mark the active item, carry a vertical label |

- Build shapes with CSS (`border-radius`, `clip-path`) or inline SVG. Do not use bitmap images for shapes.
- Use a maximum of three large shapes in one view.
- Let one shape overlap one edge of a block or image. Overlap creates the Bauhaus tension. Do not let shapes cover text.
- Mark decorative shapes with `aria-hidden="true"`.

```css
.shape-circle   { aspect-ratio: 1; border-radius: var(--radius-circle); background: var(--color-red); }
.shape-square   { aspect-ratio: 1; background: var(--color-blue); }
.shape-triangle { aspect-ratio: 1; background: var(--color-yellow);
                  clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.bar            { block-size: var(--bar); background: var(--color-black); }
```

## Grid and layout

- Use a 12-column grid as the base. Use a square module where possible: make row height equal to column width plus gutter. Square modules suit square and circle shapes.
- Build pages from color blocks. A section can be a full-width block of one primary with black or white type.
- Use asymmetric compositions. Use one diagonal or overlap per view at most. The Bauhaus is more calm than Constructivism.
- Typophoto: combine a black-and-white photo with a primary-color shape and large type in one composition. Keep the text outside the busy parts of the photo.

```css
.page {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-3);
  padding-inline: clamp(16px, 4vw, 48px);
}
.block-red  { background: var(--color-red);  color: var(--color-white); }
.block-blue { background: var(--color-blue); color: var(--color-white); }
.block-yellow { background: var(--color-yellow); color: var(--color-black); }
```

## Components

**Buttons**
- Primary: red fill, white text, square corners. Optional: a small circle or triangle icon on the left.
- Secondary: 2px black border, black text, transparent fill.
- Hover: change the fill to black and the text to white. Focus: 3px blue outline with a 2px offset.
- Circular icon buttons (play, next, close) are on-style. Give each one an `aria-label`.

**Navigation**
- Horizontal links on a bar, or a vertical nav with a thick colored bar on the active item.
- A circle or square marker for the current item is allowed. Add `aria-current="page"`.

**Cards**
- Flat rectangles on paper, 2px black border or a full primary fill.
- One geometric shape per card as a category key (for example circle = event, square = article, triangle = tool). Always show the category as text too.
- No shadows, no rounded corners.

**Forms**
- Labels above the field. Fields with a 2px black border, square corners, white fill.
- Radio buttons are circles and checkboxes are squares. Use the native controls and style them with `accent-color: var(--color-blue)`.
- Errors: red text message plus a red bar on the left of the field.

**Lists and steps**
- Number steps inside circles. Connect steps with a straight bar.

**Images**
- Black-and-white or duotone photography with a primary color.
- Crop images into a square, a circle or a rectangle that follows the grid.

## Motion

- Motion must show a function: a triangle turns 90° when a section expands, a circle grows on selection.
- Keep durations at 150–300ms with simple easing.
- Respect `prefers-reduced-motion: reduce`.

## Accessibility

- Check contrast for every color pair you use. The tokens above pass for the pairs in their comments. Red text on blue and blue text on red fail: do not use them.
- Never use shape or color as the only carrier of information. Add text labels.
- Keep the reading order in the DOM linear, even when shapes overlap on screen.
- Body text in a geometric sans is less readable at small sizes. Keep body text at 17px or larger.

## Do and do not

| Do | Do not |
|---|---|
| Give each shape a function | Scatter shapes as background confetti |
| Flat red, yellow, blue, black, white | Pastel tints, gradients, a fourth hue |
| One dominant primary per view | Equal amounts of all three primaries |
| Geometric sans-serif | Serif, script or "Bauhaus 93" type |
| One overlap or diagonal for tension | Many rotated elements (that is Constructivism) |
| Black text on yellow | Yellow text on white |
| Square corners, circles where needed | Rounded rectangles with soft shadows |

## Review checklist

- [ ] Each shape and each color has a stated function.
- [ ] The palette is only red, yellow, blue, black, white (plus paper and one gray for secondary text).
- [ ] One primary dominates each view.
- [ ] Type is one geometric sans family. All-lowercase is only on display text and navigation.
- [ ] No gradients, no shadows, no ornament.
- [ ] All color pairs for text pass 4.5:1 (or 3:1 for large text).
- [ ] Shapes do not cover text. Decorative shapes have `aria-hidden="true"`.
- [ ] Every experiment (overlap, grid break, typophoto) keeps the content readable.

## Reference works

Study these for composition. Do not copy them.

- Herbert Bayer: cover of the book for the 1923 Weimar Bauhaus exhibition; *Universal* typeface specimen (1926); *bauhaus* journal layouts (1926–31).
- László Moholy-Nagy: posters and covers for the gallery Der Sturm; photomontage and typophoto.
- Josef Albers: experimental letterforms built from squares and quarter circles.
- Grete Reinhardt: *You Need the Bauhaus* (1928), collage of found printed material.
- Later influence: Paula Scher, The Public Theater posters, 1995–96 season.

## Sources

- [Bauhaus Design: History, Principles & Influence, Linearity](https://www.linearity.io/blog/bauhaus-design/)
- [Les principes du Bauhaus, Bauhaus Posters](https://bauhausposters.com/it/blogs/infos/les-principes-du-bauhaus)
