Version 3.0
Ratio is a comprehensive design system built on mathematical principles, typographic scales, and grid-based layouts.
A modern interpretation of the Swiss International Style with strict grid systems and mathematical spacing.
Live demo
Version 3.0
Ratio is a comprehensive design system built on mathematical principles, typographic scales, and grid-based layouts.
12-column responsive grid with mathematical spacing scale.
Modular scale based on perfect fourth (1.333) ratio.
60+ accessible components following systematic principles.
A modern interpretation of the Swiss International Style with strict grid systems and mathematical spacing.
1950s Swiss + 2020s
Effects: No decorative effects: flat colour, hairline rules, strict alignment to a 12-column grid and modular type scale, simple colour-change hovers
:root {
--black: #000000;
--white: #FFFFFF;
--gray: #F5F5F5;
--red: #DC2626;
--text-muted: #4B5563;
--rule: #E5E7EB;
}
body {
background: var(--white);
color: var(--black);
font-family: "Helvetica Neue", Helvetica, Inter, Arial, sans-serif;
}
.grid {
display: grid;
grid-template-columns: repeat(12, 1fr);
gap: 2rem;
max-width: 72rem;
margin: 0 auto;
padding: 4rem 2rem;
border-top: 1px solid var(--rule);
}
.grid > .main {
grid-column: span 8;
}
.grid > .aside {
grid-column: span 4;
}
h1 {
font-size: 3.75rem;
font-weight: 700;
line-height: 1.1;
letter-spacing: -0.02em;
}
.eyebrow {
color: var(--red);
font-weight: 500;
}
.lead {
font-size: 1.25rem;
color: var(--text-muted);
}
.button {
padding: 0.75rem 1.5rem;
border: 1px solid var(--black);
border-radius: 0;
background: var(--black);
color: var(--white);
font-weight: 500;
}
.button--outline {
background: transparent;
color: var(--black);
}
.button:hover {
background: var(--red);
border-color: var(--red);
color: var(--white);
}
.button:focus-visible {
outline: 2px solid var(--red);
outline-offset: 3px;
}
@media (max-width: 768px) {
.grid > .main,
.grid > .aside {
grid-column: 1 / -1;
}
}Paste this into Claude Code, Cursor, v0, Lovable or any coding agent to restyle a page in Swiss Modernism 2.0.
Apply the Swiss Modernism 2.0 style to this interface.
What it is: A modern interpretation of the Swiss International Style with strict grid systems and mathematical spacing.
Look and feel: Grid system, Helvetica, Modular, Asymmetric, International style, Rational.
Colors: primary #000000, #FFFFFF, #F5F5F5; secondary #DC2626.
Effects and motion: No decorative effects: flat colour, hairline rules, strict alignment to a 12-column grid and modular type scale, simple colour-change hovers.
Reference CSS (put these class names on the matching elements, or map them onto existing components and class names; avoid long structural selectors):
```css
:root {
--black: #000000;
--white: #FFFFFF;
--gray: #F5F5F5;
--red: #DC2626;
--text-muted: #4B5563;
--rule: #E5E7EB;
}
body {
background: var(--white);
color: var(--black);
font-family: "Helvetica Neue", Helvetica, Inter, Arial, sans-serif;
}
.grid {
display: grid;
grid-template-columns: repeat(12, 1fr);
gap: 2rem;
max-width: 72rem;
margin: 0 auto;
padding: 4rem 2rem;
border-top: 1px solid var(--rule);
}
.grid > .main {
grid-column: span 8;
}
.grid > .aside {
grid-column: span 4;
}
h1 {
font-size: 3.75rem;
font-weight: 700;
line-height: 1.1;
letter-spacing: -0.02em;
}
.eyebrow {
color: var(--red);
font-weight: 500;
}
.lead {
font-size: 1.25rem;
color: var(--text-muted);
}
.button {
padding: 0.75rem 1.5rem;
border: 1px solid var(--black);
border-radius: 0;
background: var(--black);
color: var(--white);
font-weight: 500;
}
.button--outline {
background: transparent;
color: var(--black);
}
.button:hover {
background: var(--red);
border-color: var(--red);
color: var(--white);
}
.button:focus-visible {
outline: 2px solid var(--red);
outline-offset: 3px;
}
@media (max-width: 768px) {
.grid > .main,
.grid > .aside {
grid-column: 1 / -1;
}
}
```
Works best for: Corporate sites, Architecture, Editorial, SaaS, Museums, Professional services.
Avoid it for: Playful brands, Children's sites, Entertainment, Gaming, Emotional storytelling. If this product falls into one of those, say so before restyling.
Restructure the layout where this style calls for it, keeping the existing content and behaviour. Use only content already on the page: if a step needs testimonials, pricing, data, images or media that don't exist, skip that step instead of adding placeholders or inventing it.
Meet WCAG AA contrast: where a palette color is too light or bright for text, keep it for backgrounds, borders and large display type and use a darker text color, rather than darkening the whole design. Keep visible focus states, give icon-only controls an accessible name (aria-label) and respect prefers-reduced-motion.Rolling AI coding agents out across a team? Farad Labs runs hands-on AI training.
Rooted in the Swiss International Style of the 1950s, this approach emphasizes clarity, readability, and objectivity. Uses grid-based layouts, sans-serif typography, and generous white space to create functional, timeless designs.
Modern SaaS
A modern evolution of skeuomorphism that creates soft, extruded plastic-like interfaces. Uses subtle shadows and highlights to simulate depth while maintaining a minimal aesthetic.
Modern SaaS
Inspired by frosted glass, this style creates depth through transparency and blur effects. Perfect for layered interfaces where content hierarchy is important.
Modern SaaS
High-energy design with bold color blocks, geometric shapes, and vibrant palettes. Creates excitement and draws attention through visual contrast.
Modern SaaS