Export to Framework
stitch_export_frameworkExports a Stitch project to a chosen UI framework such as React, Vue, Svelte, Next.js, or Angular by transforming designs into framework-specific components ready for your codebase.
Instructions
Export a Stitch project to a specific UI framework (React, Vue, Svelte, Next.js, Nuxt, Solid, Angular, or Vanilla HTML). Transforms HTML into framework-specific components.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>"
},
"name": "stitch_export_framework"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | No | Output directory | ./stitch-export |
| routes | No | Comma-separated routes for Next.js | |
| framework | No | Target framework | react |
| projectId | Yes | Stitch project ID |