Integrations

Layout works with every major AI coding tool. Export your design system bundle once, then drop the right file into each tool. Your AI assistant will follow the design system on every prompt without you having to paste context manually.

Token files

Regardless of which AI tool you use, adding the token files to your codebase makes completions more accurate. Both tokens.css and tailwind.config.js work with all tools. The AI sees the actual token values in your source files, reinforcing the design system rules in context.

tokens.css: CSS custom properties

Import in your global stylesheet to make all design tokens available as CSS custom properties throughout your project.

css
/* globals.css or app.css */
@import "./tokens.css";

tailwind.config.js: Tailwind theme

Replace or merge with your existing Tailwind config. All extracted tokens are pre-mapped into the Tailwind theme, so your AI-generated class names use the correct values.

js
// tailwind.config.js: already maps all extracted tokens into Tailwind's theme
const config = require("./tailwind.config.js");
tokens.json is also included in the export bundle. Use it with Theo or Style Dictionary to generate platform-specific tokens for iOS, Android, SCSS variables, and more.