---
name: flat-design
description: "Apply the Flat Design style (2012–present) when generating web pages, apps, memes, short video frames, forum and chat screens, and other images of internet culture. Load when the user asks for: flat design, flat ui, flat style, no gradients, no shadows, solid colours."
domain: internet
era: feed-mobile
triggers:
  - "flat design"
  - "flat ui"
  - "flat style"
  - "no gradients"
  - "no shadows"
  - "solid colours"
  - "ios 7 look"
  - "metro style"
  - "simple icons"
  - "flat vector"
  - "colour blocks"
vector_profile:
  ornamentation: 1
  dimensionality: 1
  grid_rigidity: 4
  skeuomorphic_realism: 1
  typographic_expressiveness: 2
---

# Flat Design

> A digital interface is honest when it shows itself as pixels and type, and does not imitate physical objects.

Interfaces of solid colour fields, simple geometric shapes, bold sans-serif type and no gradients or shadows. It followed Microsoft Metro in 2010 and Windows 8 in 2012, and became the default after iOS 7 in 2013.

**Period:** 2012–present · **Era:** The feed and the phone · **Domain:** Internet · **Also called:** Flat UI, Flat 2.0, Metro-inspired flat

## When to load this skill

Load it when the user asks for: "flat design", "flat ui", "flat style", "no gradients", "no shadows", "solid colours", "ios 7 look", "metro style", "simple icons", "flat vector", "colour blocks".

Good for: marketing landing pages, mobile apps, dashboards, icon sets, startup brands.

Do not use it when:
- The user must tell raised controls from plain content, because flat buttons lose the affordance cue.
- The brand needs warmth, material richness or a premium feel.
- The interface has many dense, equal-weight controls that need layers to show order.

## System directives

When generating web pages, apps, memes, short video frames, forum and chat screens, and other images of internet culture in Flat Design, you MUST:

1. Fill every surface with one solid colour and use no gradient, texture or shadow.
2. Build the palette from 4 to 6 saturated colours, such as turquoise, emerald, amethyst, carrot and alizarin, plus one neutral.
3. Draw icons as simple geometric shapes on a 24px or 32px square, with solid fills or a 2px stroke and no bevel.
4. Express hierarchy with size, weight and colour, using at least a 1.25 ratio between type levels.
5. Use large tap targets of at least 44px and generous padding of 16 to 24px around content.
6. Separate regions with a change of colour and not with a border, a shadow or a line.
7. Give interactive elements a plain colour change on hover and press, with no lift and no glow.

## Guardrails

Each line below breaks the style. Check your output against the list before you return it.

- **NEVER:** Gradients, glossy highlights and reflections on buttons.
- **NEVER:** Drop shadows, inner shadows and bevels on any element.
- **NEVER:** Textures of leather, paper, wood or linen as backgrounds.
- **NEVER:** Photographic or 3D-rendered icons.
- **NEVER:** Low-contrast pastel text under 4.5:1 on a coloured field.
- **NEVER:** Ghost buttons with a 1px outline as the only primary action.
- **NEVER:** Mixed icon styles of outline and filled in one view.

## Vector profile

| Axis | Score | 1 means | 5 means |
|---|---|---|---|
| Ornamentation | `■□□□□` 1/5 | pure minimal | maximalist |
| Dimensionality | `■□□□□` 1/5 | strictly 2D | full 3D / spatial |
| Grid rigidity | `■■■■□` 4/5 | chaotic / organic | strict mathematical grid |
| Skeuomorphic realism | `■□□□□` 1/5 | abstract digital | photorealistic material |
| Typographic expressiveness | `■■□□□` 2/5 | neutral / invisible | experimental / illustrative |

Hold these scores. If a request moves an axis by 2 points or more, you have left the style: go to "Lineage fallbacks".

## Spatial & grid logic

- **Grid mechanics:** A 12-column grid with 30px gutters on the web and a 4-column grid with 16px margins on a phone; every spacing value is a multiple of 8px.
- **Whitespace ratio:** 35–50% of the surface stays empty; the spacing scale is 8, 16, 24, 32, 48, 64px.
- **Alignment rules:** Flush-left text with a shared left edge; icons centre in their containers; blocks of colour run full-width and bleed to the screen edge on mobile.
- **Container geometry:** Rectangles and circles with a radius of 0px to 4px on buttons and cards, and 50% on avatars; tiles are squares or 2:1 rectangles.

## Typography

- **Classifications:** geometric sans serif · grotesque sans serif
- **Tracking:** Display sizes take -0.01em to 0em; body stays at 0; upper-case labels take +0.05em.
- **Leading:** Display 1.15; body 1.5; labels 1.2.
- **Hierarchy rules:**
  - Use light (300) or regular (400) for large display text and bold (700) for buttons and labels.
  - Use four sizes, for example 14, 18, 32 and 64px, with a ratio near 1.8 between display levels.
  - Set headline text in white on a saturated colour field or in near-black on white.
  - Keep body text at 16px or more with a line length of 45 to 75 characters.

**Font pairings**

| Display | Body | Note |
|---|---|---|
| Montserrat | Open Sans | A wide geometric face for headlines and a neutral text face; common in 2013 flat templates. |
| Lato | Lato | A single-family setting with weights 300 to 900, close to the Helvetica Neue Light used by iOS 7. |
| Raleway | Source Sans 3 | A thin elegant display face for large headings with a sturdy text face. |

## Colour & lighting

- **Palette structure:** One white or light-grey base, 4 to 6 saturated flat colours, and one dark neutral; each section holds one dominant colour on 30 to 60% of its area.
- **Contrast rules:** Body text holds at least 4.5:1; white text on Turquoise reaches only 2.5:1, so large text of 24px or more or a darker shade of #16A085 is required on that field.
- **Surface treatment:** Opaque solid fills with no gradient, no noise and no transparency except for 50% overlays on photographs.
- **Light and shadow:** None. There is no light source; depth comes from overlap and from colour change.

**Palette**

| Name | Hex | Role |
|---|---|---|
| Clouds | `#ECF0F1` | background |
| Midnight | `#2C3E50` | text and dark surface |
| Turquoise | `#1ABC9C` | primary |
| Peter River | `#3498DB` | secondary action |
| Alizarin | `#E74C3C` | alert and accent |
| Sun Flower | `#F1C40F` | highlight |

## Materiality & texture

- **Surface simulation:** None; surfaces are plain screen colour and do not imitate any material.
- **Border rules:** No borders on cards and buttons; inputs take a 2px solid bottom or full border in the accent colour when focused.
- **Blur and elevation:** No blur and no elevation; box-shadow and backdrop-filter stay at none, and there is one flat layer.

## Ornamentation & iconography

- **Iconography:** Solid or 2px-stroke glyphs on a 24px grid with rounded or square terminals, one colour each, and no gradient.
- **Illustration:** Flat vector shapes in the palette with no outlines and no shading, or full-bleed photographs under a 50% colour overlay.
- **Decorative elements:** colour blocks · circles · long shadow of 45 degrees on icons in the 2013 variant · oversized numerals · ghost-weight hero type

## Motion & interactivity

- **Born on screen:** yes
- **Transition physics:** Short plain transitions of colour, opacity and position with no overshoot; panels slide in from the edge by their own width.
- **Easing:** cubic-bezier(0.25, 0.1, 0.25, 1)
- **Duration (ms):** 200
- **Hover and active:** Hover darkens the fill by 8 to 10% lightness; active darkens it by 15%; nothing lifts, scales more than 1.02 or glows.

## Code & token primer

Set `data-style="flat-design"` on the root element and paste the tokens. The file [`tokens.css`](./tokens.css) has the same tokens and a set of reference rules.

```css
[data-style="flat-design"] {
  --color-bg: #ECF0F1;
  --color-surface: #FFFFFF;
  --color-text: #2C3E50;
  --color-muted: #7F8C8D;
  --color-primary: #1ABC9C;
  --color-accent: #E74C3C;
  --color-border: #BDC3C7;
  --font-sans: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --border-radius: 4px;
  --border-width: 0px;
  --shadow-elevation: none;
  --backdrop-filter: none;
  --space-unit: 8px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --duration: 200ms;
  --color-primary-hover: #16A085;
  --grid-columns: 12;
  --grid-gutter: 30px;
  --leading-body: 1.5;
  --type-ratio: 1.25;
  --size-small: 12.8px;
  --size-h3: 25px;
  --size-h2: 31.25px;
  --size-h1: 39.06px;
  --color-on-bg: #2C3E50;
  --color-on-surface: #2C3E50;
  --color-on-primary: #2C3E50;
  --color-on-accent: #000000;
  --color-muted-on-bg: #526270;
  --color-muted-on-surface: #6B7885;
  --color-link: #2C3E50;
  --color-link-on-surface: #2C3E50;
  --display-weight: 300;
  --subhead-weight: 400;
  --body-weight: 400;
  --strong-weight: 700;
  --label-weight: 700;
  --display-tracking: 0.01em;
  --display-leading: 1.1;
  --display-case: none;
  --body-leading: 1.6;
  --body-size: 16px;
  --icon-stroke: 2;
  --ground: linear-gradient(var(--color-primary), var(--color-primary)) 86% 22% / 26vmin 26vmin no-repeat,
    linear-gradient(var(--color-on-bg), var(--color-on-bg)) calc(86% + 14px) calc(22% + 14px) / 26vmin 26vmin no-repeat,
    linear-gradient(var(--color-accent), var(--color-accent)) 68% 82% / 18vmin 14vmin no-repeat,
    linear-gradient(var(--color-on-bg), var(--color-on-bg)) calc(68% + 10px) calc(82% + 10px) / 18vmin 14vmin no-repeat,
    repeating-linear-gradient(-45deg, color-mix(in oklab, var(--color-on-bg) 8%, transparent) 0 2px, transparent 2px 14px),
    var(--color-bg);
}
```

Tailwind patterns:

| Element | Classes |
|---|---|
| page | `bg-[#ECF0F1] text-[#2C3E50] font-sans antialiased` |
| heading | `font-bold text-4xl md:text-6xl leading-[1.15] tracking-tight text-[#2C3E50]` |
| card | `rounded bg-white p-6 shadow-none` |
| button | `rounded bg-[#1ABC9C] px-6 py-3 text-base font-bold text-white transition-colors duration-200 hover:bg-[#16A085] active:bg-[#138D75]` |
| input | `rounded bg-white px-4 py-3 text-base text-[#2C3E50] border-2 border-transparent focus:border-[#1ABC9C] focus:outline-none` |

## Visual pack

The pictures and icons of this style are files. Use them as they are, or read them as a specification and draw your own in the same language.

| File | Content |
|---|---|
| [`pack/hero.svg`](./pack/hero.svg) | Hero plate, 800 by 600. An abstract picture in the visual language of the style. |
| [`pack/pattern.svg`](./pack/pattern.svg) | Pattern tile, 80 by 80. It repeats in both directions. |
| [`pack/icons.svg`](./pack/icons.svg) | Icon sprite: home, search, heart, star, bell, user, mail, calendar, image, bolt, play, check, close, sliders. |

- **Icons:** solid, stroke 2 on a 24px field, butt caps, miter joins, container: circle. Use: `<svg class="icon"><use href="pack/icons.svg#home"/></svg>`. An icon takes `currentColor`.
- **Icon family:** the sprite is cut from Ionicons (Filled) by Ben Sperry, licence MIT. Reason: Solid glyphs with no depth and no detail: the form alone carries the meaning. It is an open-source stand-in for a demo. For a product, use the icon library of the brand and choose the family by the rules below.
- **Display type:** weight 300, tracking 0.01em, leading 1.1, case: none.
- **Weights:** display 300, subhead 400, body 400, bold in text 700, labels and buttons 700. The style uses 3 weights (300, 400, 700) and no other. The display is 100 lighter than the body, so size carries the hierarchy. The accent is colour: one coloured word or field is the accent, so the weights stay quiet.
- **Body type:** 16px, leading 1.6.
- **Page:** hero stacked, center aligned, airy density, accent tilt 0°.
- **Ground:** blocks. Flat design uses solid blocks of colour; the long hard shadow gives depth with no gradient. Put the class `ground` on the first screen of the page; it takes `--ground`, a stack of gradients built from the colour tokens. The ground can run behind the copy, so put the class `ground-copy` on each text block of that screen: the block gets `--color-bg` and a soft edge. Keep the rest of the page on `--color-bg`.
- **Text colour:** `--color-text` is for the main reading field only. On each field, use its token: `--color-on-bg`, `--color-on-surface`, `--color-on-primary`, `--color-on-accent`.

### How to choose an icon pack

An icon pack is a typeface for pictures. Choose it with the same care as the text face. These rules hold for an open-source set and for a licensed library.

1. **The stroke matches the stem.** Set an icon next to the body text at text size. The line of the icon and the stem of a letter have the same weight.
2. **Terminals and corners follow the radius token.** Butt caps and mitre joins go with a radius of zero. Round caps and round joins go with a soft radius.
3. **The fill mode follows the technology of the era.** Print eras cut solid forms. Screen eras with depth fill and shade the form. Current product interfaces draw an outline.
4. **The metaphors are not younger than the style.** Each picture is an object that the era knew. An icon with a later metaphor breaks the period.
5. **One family, one grid.** All icons come from one family and one variant, drawn on one field. Do not mix families on one surface.
6. **The family covers the product.** List each concept that the product needs before you commit. A family that has no icon for one of them is the wrong family.
7. **The colour is a token.** An icon takes currentColor. A second tone comes from a token, not from the file.
8. **The licence permits the use.** Read the licence of the set. Give credit where the licence asks for it. A product with a brand uses its licensed library and applies the same rules to choose the family.

## Techniques

These techniques started in one domain and moved into this style. Apply the rules as they are written; the full record is in [`TECHNIQUES.md`](../TECHNIQUES.md).

### Long shadow (motif)

A shadow far longer than its object, cast by a low sun, so that a still scene feels strange and charged. Origin: painting, Paris, 1914.

- Cast the shadow at a low angle: the shadow is 2 to 5 times the height of the object.
- Keep one light direction in the whole scene.
- Leave the shadow flat and dark, at 40% to 70% opacity.
- Show the shadow of something outside the frame, to hint at an unseen presence.

### Multiplane parallax (animation)

Flat layers move at different speeds by their distance, so that a flat picture gets depth. Origin: film & video, The Old Mill, 1937.

- Move each layer at a speed in proportion to its distance: a far layer at 20% to 50% of the speed of the front layer.
- Use 3 to 5 layers; more layers add load and no depth.
- Give a reduced-motion setting that stops the shift of the layers.

### Squash and stretch (animation)

A moving form changes shape but keeps its volume: it stretches along its path at speed and squashes on impact. Origin: film & video, Disney studio, Los Angeles, c. 1930.

- Keep the volume constant: when the height grows by a factor k, scale the width by 1/k.
- Stretch along the path by 10% to 30% at the highest speed and squash by the same amount on impact.
- In an interface, use a spring with a damping ratio of 0.6 to 0.8, so that an element overshoots once and settles.

## Organisations

The groups, studios, companies, schools, channels and backers that carried this style.

- **Adobe** (company, San Jose, 1982–now), made the style. A software company that makes Spectrum, the design system behind its products and experiences.
- **Ant Group** (company, Hangzhou, 2014–now), made the style. Chinese financial services company and Alibaba affiliate. Its Ant User-Experience Design Team made Ant Design.
- **App Store** (platform, online, 2008–now), published the style. The store of Apple for iPhone and iPad apps. Apps and their icons follow the platform look of each era, from leather and glass to flat colour and Liquid Glass, and premium mobile games with a clean art style found a large public there.
- **Atlassian** (company, Sydney, 2002–now), made the style. Australian software company that Mike Cannon-Brookes and Scott Farquhar founded. It makes the Atlassian Design System.
- **Salesforce** (company, San Francisco, 1999–now), made the style. US software company. Its UX team made the Lightning Design System, a CSS framework for Salesforce apps.
- **SAP** (company, Walldorf, 1972–now), made the style. German software company, founded by five former IBM engineers. It makes SAP Fiori, the design system for its business software.
- **Shopify** (company, Ottawa, 2006–now), made the style. Canadian e-commerce company. It makes the Polaris design system for its admin and for partner apps.
- **Smashing Magazine** (magazine, web, 2006–now), published the style. An online magazine for web designers and developers. Its tutorials and free icon sets spread the glossy Web 2.0 look and then the flat look.

## Permutations

Each knob varies the style inside a range where it stays itself. Keep each value in its range. `npm run permute -- <id> key=value` writes the tokens for other values.

| Knob | Default | Range | Changes |
|---|---|---|---|
| Base colour (`base_colour`) | #1ABC9C | #1ABC9C, #E74C3C, #2C3E50 | --color-primary, --color-on-primary, --color-link-on-surface |
| Accent colour (`accent_colour`) | #E74C3C | #E74C3C, #1ABC9C | --color-accent, --color-on-accent, --color-link |
| Corner radius (`corner_radius`) | 4px | 2–6 px | --border-radius |
| Grid step (`grid_step`) | 8px | 4–12 px | --space-unit, --grid-gutter |
| Type scale ratio (`type_scale_ratio`) | 1.25 | 1.2–1.333 | --type-ratio, --size-small, --size-h3, --size-h2, --size-h1 |

## Lineage fallbacks

When the user asks for a variation, do not improvise. Blend toward the neighbour named here, and load its skill.

- If the user asks for **more depth**: move toward [`material-design`](../material-design/SKILL.md) (Material Design). Add elevation shadows of 2 to 24dp with a top-left key light and keep the solid fills and the colour palette.
- If the user asks for **more tactile**: move toward [`skeuomorphism`](../skeuomorphism/SKILL.md) (Skeuomorphism). Add a 4 to 8% top-to-bottom gradient and a 1px highlight on controls; keep the layout and the colours.
- If the user asks for **more human**: move toward [`corporate-memphis`](../corporate-memphis/SKILL.md) (Corporate Memphis). Add flat illustrated people with exaggerated proportions and a 4-hue palette; keep the solid fills and the layout.
- If the user asks for **more grid and type**: move toward [`swiss-international`](../swiss-international/SKILL.md) (Swiss International Style). Reduce the palette to black, white and one accent; set text flush left on a 12-column grid with a single typeface.

- **Led to (go here for a newer version):** [`ai-chat-ui`](../ai-chat-ui/SKILL.md), [`aurora-gradient-ui`](../aurora-gradient-ui/SKILL.md), [`bento-grid-ui`](../bento-grid-ui/SKILL.md), [`corporate-memphis`](../corporate-memphis/SKILL.md), [`dark-devtool-ui`](../dark-devtool-ui/SKILL.md), [`flat-lay-feed`](../flat-lay-feed/SKILL.md), [`material-design`](../material-design/SKILL.md), [`minimalism-web`](../minimalism-web/SKILL.md), [`neo-brutalism-ui`](../neo-brutalism-ui/SKILL.md)
- **Rejects (the opposite pole; do not blend):** [`skeuomorphism`](../skeuomorphism/SKILL.md)
- **Was rejected by:** [`anti-design`](../anti-design/SKILL.md), [`blob-world`](../blob-world/SKILL.md), [`brutalist-web`](../brutalist-web/SKILL.md), [`claymorphism`](../claymorphism/SKILL.md), [`conceptual-sketch-ui`](../conceptual-sketch-ui/SKILL.md), [`cottagecore`](../cottagecore/SKILL.md), [`cybercore-web`](../cybercore-web/SKILL.md), [`cyberpunk-web`](../cyberpunk-web/SKILL.md), [`dark-academia`](../dark-academia/SKILL.md), [`editorial-serif-revival`](../editorial-serif-revival/SKILL.md), [`kidcore`](../kidcore/SKILL.md), [`liquid-glass-ui`](../liquid-glass-ui/SKILL.md), [`luxury-typography-web`](../luxury-typography-web/SKILL.md), [`neumorphism`](../neumorphism/SKILL.md), [`scrapbook-ui`](../scrapbook-ui/SKILL.md), [`surrealism-web`](../surrealism-web/SKILL.md), [`synthwave-web`](../synthwave-web/SKILL.md), [`wabi-sabi-web`](../wabi-sabi-web/SKILL.md)
- **Mixes well with:** [`metro-ui`](../metro-ui/SKILL.md)
- **Kin in another domain:** [`cel-shaded-3d`](../cel-shaded-3d/SKILL.md), [`flat-icon`](../flat-icon/SKILL.md), [`flat-logo`](../flat-logo/SKILL.md), [`impossible-isometric-mobile`](../impossible-isometric-mobile/SKILL.md), [`minimalist-interior`](../minimalist-interior/SKILL.md), [`rams-functionalism-ui`](../rams-functionalism-ui/SKILL.md), [`smartwatch`](../smartwatch/SKILL.md), [`swiss-international`](../swiss-international/SKILL.md), [`ukiyo-e`](../ukiyo-e/SKILL.md)
- **Nearest by vector profile:** [`minimalism-web`](../minimalism-web/SKILL.md), [`ai-chat-ui`](../ai-chat-ui/SKILL.md), [`dark-devtool-ui`](../dark-devtool-ui/SKILL.md)

## Emotional target

Directness and lightness: the viewer feels that the interface is quick, honest and free of ornament.

**Keywords:** direct, light, bright, honest, quick, utilitarian · **Brand archetypes:** everyman, sage, explorer

## Sources

- Apple, iOS Human Interface Guidelines for iOS 7 (Apple Inc., 2013)
- Microsoft, Windows 8 design language guidelines, formerly Metro (Microsoft, 2012)

---

Generated from [`data/internet/styles/flat-design.json`](../../data/internet/styles/flat-design.json) by [design-ontology](../../README.md). Do not edit this file; change the data and run `npm run build`.
