Skip to content

Introduction

Airframe is a structural UI design system for humans and AI. Machine-readable by design.

Import one CSS file. Get layout primitives (af-stack, af-inline, af-grid), a full token layer, production-ready, accessible CSS patterns, and a readable DOM. Blocks and blueprints are starting points you can edit. No build step. No JavaScript runtime. No framework lock-in.

Like an aircraft airframe, it defines the form and integrity of the system. You bring the engine: React, Vue, Angular, AI-generated code, or whatever comes next.

Want to learn more? Why Airframe.

Four levels of construction. Not a nested tree. A blueprint may use af-grid directly.

LevelRoleStart here
StructureArrange and compose UIStack, Inline, Grid
PatternsReusable UI piecesButton, Card, Input, Dialog
BlocksSection guides. Start, then editHero, Toolbar, Pricing, FAQ
BlueprintsComplete interfaces. Start, then editDashboard, Inbox, Settings

A block is a section guide. A blueprint is a screen guide. Start from one when it is close, then change it. They are not the only correct composition. Patterns are not components.

Structure has two kinds: primitives (how children relate) and shells (how the viewport is divided). Shells.

Override --af-* tokens in your stylesheet. No theme build. Changes apply at runtime.

Four schemes are built in: light, dark, high-contrast light and high-contrast dark. Follow system preferences or force a scheme with data-theme.

Named brand palettes use data-brand and work across all schemes.

:root {
  --af-base-primary: #0876dd;
  --af-font-body: 'Inter', system-ui, sans-serif;
}

Full walkthrough: Theming. Token catalog: Tokens. Same tokens in Figma: Figma plugin.

Use Airframe as the design system: af-* in templates. Or wrap af-btn in <my-button> if you already have a kit. Both are valid. Do not run two palettes or two layout grammars.

Tokens only, structure only, pattern classes, or wrappers. That is how much you take. It is not the same ladder as Structure → Patterns → Blocks → Blueprints.

Airframe owns how it looks. Your kit owns how it behaves.

Full contract: Use as much as you need.

Understand

Install

Build

Brand

Integrate

Automate