Airframe
  • Patterns
  • Blocks
  • Blueprints
  • Figma
  • Docs
Get Started

Patterns

Web native. Accessible. Future-proof.

Airframe primitives with almost zero JavaScript.

63 patterns · blocks · blueprints

Foundations Buttons Badges & Status Forms Navigation Content & Messaging Data Display Overlays
ⓘ Classes on markup. No runtime. Each card opens the docs for that pattern.

Start here

Open button Open card

Button

Variants, sizes, loading spinner.

Card title

Card body content.

Card

Card layouts and variants.

Foundations

Base styling for content and layout primitives.

Inbox
Archive

Divider

Styled hr, including vertical aria-orientation.

af-divider
Figure caption

Images

Responsive images and figure defaults.

img
Default link

Link

Link defaults and visited/hover tokens.

af-link
  • First item
  • Second item
  • Third item

Lists

List defaults and af-list.

af-list

Surface

Background, border, radius.

Section & Surface

Structural containers for spacing and backgrounds.

af-section

Heading

Body text and a caption.

Caption

Typography

Semantic headings, text roles, blockquote.

af-text-h1

Buttons

Action patterns with a shared af-btn grammar.

Button

Variants, sizes, loading spinner.

af-btn

Button Group

Grouped buttons with connected styling.

af-btn-group

Icon Button

Icon-only buttons.

af-btn-icon
Get started

Link Button

Links styled as buttons.

af-btn

Badges & Status

Status indicators, tags, and loading placeholders.

JD
AB
CD

Avatar

User profile images and initials.

af-avatar
DefaultSuccessDanger

Badge

Small status indicators.

af-badge
DefaultSuccessDanger

Chip

Tags, filters, and removable items.

af-chip

Icon Box

Icon container for feature cards.

af-icon-box
New Feature name →

Pill

Compact labeled chips for tags and meta.

af-pill

Skeleton

Content placeholders.

af-skeleton

Spinner

Loading indicators.

af-spinner

Forms

Accessible fields, controls, and validation.

Checkbox

Checkbox inputs.

af-checkbox

Classless Form

Automatic styling with form.af-form.

af-form
Help text goes here

Field

Label, control, and help text as one unit.

af-field

File Input

File upload inputs and dropzones.

af-file-input

Form Layout

Fieldsets, inline fields, and grid.

af-field-inline

Input

Text, email, password, and the rest.

af-input
$USD

Input Group

Prefix, suffix, and in-field actions.

af-input-group

Label

Styled labels, semantic-first.

af-label

Radio

Radio button groups.

af-radio

Range

Slider inputs.

af-range

Select

Dropdown selects.

af-select

Switch

Toggle switches.

role="switch"

Textarea

Multi-line text, including auto-grow.

af-textarea
Please enter a valid email

Validation

Errors, help text, required fields.

af-is-error

Navigation

Site chrome, tabs, breadcrumbs, and pagination.

  1. Home
  2. Docs
  3. Button

Breadcrumbs

Breadcrumb navigation.

af-breadcrumbs
  • Item 1
  • Item 2
  • Item 3

Dropdown Menu

Dropdown menus.

af-dropdown-menu
  • Active item
  • Item 2
  • Item 3

Menu List

Menu and list navigation.

af-menu-list
  • Home
  • About
  • Contact

Nav Collapse

Collapsible navigation sections.

af-nav-collapse
Brand
  • Home
  • Docs

Navbar

Main navigation bar.

af-navbar
ProfileSecurityBilling

Nav Pills

Settings and section nav, filled and responsive.

af-nav-pills
  • 1
  • 2
  • 3

Pagination

Page navigation controls.

af-pagination
  • Active item
  • Item 2
  • Item 3

Side Navigation

Sidebar navigation.

af-side-nav

Contents

  1. Introduction
  2. Getting started
  3. Patterns

Table of Contents

In-page navigation for long-form content.

af-toc
Overview content

Tabs

In-page panels: tablist, tab, tabpanel.

af-tabs

Content & Messaging

Cards, alerts, KPIs, and status surfaces.

Success: Changes saved.

Alert

Alert messages.

af-alert
Banner: Site-wide message.

Banner

Site-wide banner messages.

af-banner
Info: Subtle alert variant.

Callout

Subtle alert variant.

af-callout

Card title

Card body content.

Card

Card layouts and variants.

af-card
📭

No items found

Empty State

Empty collection and first-run displays.

af-empty-state
Total users
1,234
+12%

KPI

Key performance indicator tiles.

af-kpi
70%40%

Meter

Meter elements for measurements.

af-meter

Progress

Progress bars.

af-progress
Success! Changes saved.

Toast

Toast notifications.

af-toast

Tooltip

CSS-only tooltips using aria-label.

af-tooltip

Data Display

Tables, lists, timelines, and structured records.

Section 1

Hidden content.

Section 2

Open by default.

Accordion

Collapsible content sections.

af-accordion

Email alerts

When someone mentions you

Action Row

Title and hint left, control right.

af-action-row
button.af-btn
div.af-card

Code Block

Code snippet displays.

af-code-block
Name
Ada Lovelace
Role
Administrator

Description List

Key-value pairs.

af-dl
  • Item 1
  • Active item
  • Item 3

List Group

Selectable list items.

af-list-group
  1. Account
  2. Payment
  3. Done

Steps

Multi-step progress trackers.

af-steps
NameRole
Ada LovelaceAdmin
Alan TuringEditor

Table

Tables for tabular data.

af-table
Shipped
v0.2.0 released
In review
Patterns gallery

Timeline

Chronological event displays.

af-timeline

Overlays

Dialogs, drawers, backdrops, and page loaders.

Above the scrim

Backdrop

Full-screen overlay backdrop.

af-backdrop

Confirm

Continue with this action?

Dialog

Modal dialogs using native dialog.

af-dialog

Menu

  • Dashboard
  • Settings

Drawer

Side drawer panels.

af-drawer

Page Loader

Full-page and auth loaders.

af-page-loader

Need a whole section instead?

Patterns are the parts. Heroes, pricing tables and sign-in cards live in blocks. Complete screens — landing, dashboard, inbox — live in the blueprints.

Blocks Blueprints

Guides

  • Usage
  • Tokens
  • Theming
  • Layouts
  • Frameworks
  • Changelog

Agents

  • AI Rules
  • Airframe MCP
  • llms.txt
  • IntelliSense for Airframe
  • ESLint plugin

Resources

  • Packages
  • Theme Studio
  • Contrast checker
  • Accessibility

Community

  • npm
  • Twitter
  • Contact

Designed and built in Sydney, Australia.

v0.3.1 Copyright © 2026 Airframeui.