Overview
The Figma integration enables:- Import design files - Import Figma files with metadata extraction (pages, frames, components)
- Extract design tokens - Pull colors, typography, and spacing from Figma Variables
- Export tokens - Export as CSS Variables, Tailwind Config, or Style Dictionary format
- Frame export - Export frames as images for use in Plans and code generation
- Code generation - Use design tokens in V0 and AI Builder prototypes
Connecting Figma
Navigate to Settings
Click your profile menu and select Settings, or go to Settings > Integrations from the sidebar.
Authorize Access
You’ll be redirected to Figma’s authorization page. Grant Kasava access to your Figma files.

Kasava uses OAuth 2.0 with PKCE for secure authentication. Your Figma credentials are never stored - only OAuth tokens.
Importing Figma Files
Once connected, you can import Figma files to extract design metadata and tokens.From the Plan Editor
Choose import options
-
Extract Design Tokens - Enable to pull colors, typography, and spacing from Figma Variables
From Prototypes Dashboard
You can also import Figma files when creating prototypes:- Navigate to Prototypes in the sidebar
- Click the Figma button in the quick actions bar
- Enter the Figma file URL
- Click Import & Open Builder
Design Tokens
Kasava extracts design tokens from Figma Variables, giving you a bridge from design to code.What Gets Extracted
| Token Type | Description | Example |
|---|---|---|
| Colors | Color variables from Figma | primary: #0066FF |
| Typography | Font families, sizes, weights | heading-lg: 24px/1.2 |
| Spacing | Padding and margin values | space-4: 16px |
Viewing Design Tokens
After importing a file with token extraction enabled:- Go to Settings > Integrations
- Click Manage on the Figma integration
- Find your imported file in the list
- Click to open the Design Token Viewer
The viewer shows:
- Token categories organized by type
- Color swatches with hex values
- Support for multiple modes (e.g., light/dark themes)
Exporting Design Tokens
Export your design tokens in multiple formats for use in your codebase:| Format | Description | Use Case |
|---|---|---|
| CSS Variables | CSS custom properties | Direct use in stylesheets |
| Tailwind Config | Tailwind CSS theme extension | Tailwind CSS projects |
| Style Dictionary | Tool-agnostic JSON format | Design system tooling |
- Open the Design Token Viewer
- Scroll to the Export Formats section
- Click the Copy button to copy to clipboard
- Or click Download to save as a file
Using Tokens in Code Generation
When you generate prototypes with V0 or AI Builder, Kasava can automatically apply your design tokens:- Import a Figma file with token extraction
- When generating a prototype, your tokens are available to the AI
- Generated code will reference your design system colors, typography, and spacing
Managing the Integration
Click Manage on the Figma integration card to:- View connection status and connected user
- See the team/workspace name
- View last sync timestamp
- Browse imported files
- Disconnect the integration
Imported Files
The management dialog shows all imported Figma files with:- File name
- Page count
- Frame count
- Component count
- Link to open in Figma
Disconnecting Figma
Troubleshooting
Figma import fails
Figma import fails
Check that:
- Your Figma account is connected in Settings
- The Figma file URL is complete and valid
- You have view access to the Figma file
- The file uses Figma Variables for tokens (not just styles)
No design tokens extracted
No design tokens extracted
Design tokens are extracted from Figma Variables, not legacy Styles. Ensure your Figma file uses the Variables feature for colors, typography, and spacing.
OAuth authorization failed
OAuth authorization failed
Integration shows disconnected
Integration shows disconnected
OAuth tokens expire periodically. Click Connect again to re-authorize the integration.
Permissions
Kasava requests the following Figma permissions:| Permission | Purpose |
|---|---|
| Read files | Access file metadata, pages, frames, and components |
| Read variables | Extract design tokens from Figma Variables |