Skip to content

IntelliSense for Airframe

IntelliSense for Airframe adds autocomplete and hover docs for --af-* tokens and af-* classes. Same version as @airframeui/core.

Token names come from @airframeui/tokens/catalog.json. Classes come from @airframeui/core.

Airframe IntelliSense demo

VS Code: Install from the Visual StudioCode Marketplace →

For the extension to activate, open a supported file type (CSS, HTML, JS/TS, JSX/TSX, or Astro). Suggestions appear when you type Airframe prefixes such as --af-, .af-, or af- inside class / className.

Intelligent suggestions for:

  • Design tokens — --af-* and var(--af-…)
  • Pattern and utility classes — af-* (2,400+ including responsive variants)
  • Responsive suffixes — type af-stack@ for @xs / @sm / @md / @lg / @xl / @2xl
  • Modifiers — af-is-outline, af-is-sm, and more
<button class="af-btn">Click me</button>

<div class="af-grid af-grid-2 af-grid-4@md">…</div>
.panel {
  color: var(--af-color-primary);
  padding: var(--af-space-4);
  border-radius: var(--af-radius);
}

:root {
  --af-choice-size: 1.5rem; /_ checkbox / radio / switch track _/
}

Hover any --af-* token or .af-* class to see values, category, and related modifiers — without leaving the editor.

CSS · SCSS · Less · HTML · JavaScript / JSX · TypeScript / TSX · Astro

By default VS Code may not trigger completions inside string attributes (for example JSX className or HTML class). Turning string suggestions on improves the experience:

{
  "editor.quickSuggestions": {
    "strings": "on"
  }
}
SettingDefaultDescription
airframeui.enabletrueEnable or disable Airframe IntelliSense

If IntelliSense is not activating:

  1. Confirm Airframe IntelliSense is installed and enabled.
  2. Check the language mode in the status bar (e.g. HTML, CSS, Astro) — plain text will not activate completions.
  3. Ensure airframeui.enable is not set to false.
  4. For completions inside class="…", enable editor.quickSuggestions.strings (see above) or invoke manually with Ctrl+Space / Cmd+Space.
  5. Reload the window after installing or updating the extension.
  • Packages — npm packages and IntelliSense for Airframe
  • MCP — coding agents: npx -y @airframeui/mcp, then search patterns, validate markup, look up tokens
  • Installation — add @airframeui/core to your project
  • Tokens — design token reference