Export Design as Code
design_exportExport your current design as code in HTML, React, Vue, or Figma token format. Choose the format that fits your workflow.
Instructions
Export the current design as code in the specified format.
Supported formats:
html: Complete standalone HTML file with CSS variables and all component markup
react: React JSX component code
vue: Vue Single File Component (SFC) code
figma_tokens: Design tokens in Figma token JSON format
Args:
format (string): Export format — 'html', 'react', 'vue', 'figma_tokens'
Example:
design_export(format="html")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | Export format |