Weftv0.4.0
GitHubFigma
Blade AI
Foundations · Layout

Layout

Containers, columns, gutters and margins, the column grid, and the spacing tokens.

Containers

#containers

Three container widths for a 1440 screen: dashboard with sidebar, fixed-width page, narrow focus page.

Web Dashboard · Sidebar + Inset · 1440 × 900

App dashboards with a persistent 256px sidebar and an inset main area. Wireframe shown at 65%.

Sidebar · 256px
Content · 1128px

Web Page · Fixed width · 1440 × 900

Pages without a sidebar (settings, marketing, docs). Content capped at 1280px and centred, with 24px side margins.

104px
Content · 1232px
104px

Web Page · Central, narrow · 1440 × 900

Focused flows (forms, settings, onboarding, articles). Content capped at 768px and centred.

Content · 768px

Columns, Gutters & Margins

#columns-gutters-margins

Columns, gutters and margins per breakpoint: Mobile 4 columns, Tablet 8, Desktop 12.

Mobile layout

Width 360px · 4 columns · 16px gutter · 16px margin

Columns
360px · 4 columns
Gutters
360px · 16px gutter
Margins
360px · 16px margin

Tablet layout

Width 768px · 8 columns · 16px gutter · 16px margin

Columns
768px · 8 columns
Gutters
768px · 16px gutter
Margins
768px · 16px margin

Desktop layout

Width 1024px and up · 12 columns · 16px gutter · 24px margin. The grid sits inside the content area, after the 256px sidebar.

Columns
1024px+ · 12 columns
Gutters
1024px+ · 16px gutter
Margins
1024px+ · 24px margin

Column Grid

#column-grid

Twelve percentage-based columns with three gutter options. Margins are left out to keep it simple.

Condensed

A 16px gutter. Use between cards, inside forms and on mobile layouts.

--spacing-5· 16px

Default

A 24px gutter. Use for main layout containers, between page sections or between a sidebar and the main content.

--spacing-7· 24px

Spacious

A 32px gutter. Use for landing and marketing pages on desktop, where content needs more room.

--spacing-8· 32px

Usage Guidelines

Column grids also work inside components. An inline form uses the condensed grid (spacing-5) for its fields, while the page around it uses the default grid (spacing-7).

First name
Last name
Email
Submit

Spatial Tokens

#spatial-tokens

The spacing tokens in this file (spacing-0 to spacing-14). Blade scale: 2, 4, 8, 12, 16, 20, 24, 32, 40, 48, 56, 64, 80, 96 plus three off-scale steps.

Spacing

18 steps from 0 to 96px. The old 28px and 36px steps have no token in this file and are not listed. Tailwind and calc() columns are dropped.

Spacing
Token
Value
Scale
--spacing-0
0px
Blade scale
--spacing-1
2px
Blade scale
--spacing-2
4px
Blade scale
--spacing-15
6px
Off scale
--spacing-3
8px
Blade scale
--spacing-16
10px
Off scale
--spacing-4
12px
Blade scale
--spacing-17
14px
Off scale
--spacing-5
16px
Blade scale
--spacing-6
20px
Blade scale
--spacing-7
24px
Blade scale
--spacing-8
32px
Blade scale
--spacing-9
40px
Blade scale
--spacing-10
48px
Blade scale
--spacing-11
56px
Blade scale
--spacing-12
64px
Blade scale
--spacing-13
80px
Blade scale
--spacing-14
96px
Blade scale