VS Code Extension
The Airframe VS Code extension provides IntelliSense and autocomplete for CSS tokens and component classes directly in your editor.
Features
Section titled “Features”- CSS Custom Property Autocomplete — Type
--af-orvar(--af-for all design tokens - CSS Class Autocomplete — 2,000+ classes including responsive variants
- Responsive Suffix Completion — Type
af-stack@to complete@xs,@sm,@md,@lg,@xl,@2xl - Hover Documentation — Hover over tokens and classes for inline docs
- Color Preview — Visual swatches for color tokens in CSS files
- Modifier Suggestions — Autocomplete for
.af-is-primary,.af-is-sm, etc.
Supported File Types
Section titled “Supported File Types”- CSS, SCSS, Less
- HTML
- JavaScript, JSX
- TypeScript, TSX
- Astro
Installation
Section titled “Installation”From VS Code Marketplace
Section titled “From VS Code Marketplace”- Open VS Code
- Go to Extensions (
Cmd+Shift+X/Ctrl+Shift+X) - Search for Airframe IntelliSense
- Click Install
Not on the Marketplace yet? Install from a VSIX: follow From VSIX (before Marketplace) in the extension README.
CSS Variables
Section titled “CSS Variables”Type --af- or var(--af- to get autocomplete:
.my-element {
color: var(--af-color-primary);
padding: var(--af-space-4);
border-radius: var(--af-radius-md);
}CSS Classes
Section titled “CSS Classes”Type .af- or use in class/className attributes:
<button class="af-btn af-is-primary">
Click me
</button><div className="af-card">
<h3 className="af-card__title">Title</h3>
<div className="af-card__body">Content</div>
</div>Responsive Classes
Section titled “Responsive Classes”Type af-stack@ or af-col-span-6@ for breakpoint suggestions:
<div class="af-grid af-grid-2 af-grid-4@md af-col-span-6@lg">Hover Documentation
Section titled “Hover Documentation”Hover over any --af-* variable or .af-* class to see token values, component docs, and available modifiers.
Configuration
Section titled “Configuration”| Setting | Default | Description |
|---|---|---|
airframeui.enable | true | Enable/disable the extension |
airframeui.showColorPreview | true | Show color swatches for color tokens |
- VS Code Marketplace —
publisher+namefrom extensionpackage.json(airframeui.airframe-intellisense); confirm the page exists after publish - GitHub — Source code