export_to_react
Converts a Figma node tree into React and Tailwind code, enabling direct implementation from design to frontend.
Instructions
Generate React + Tailwind code from a Figma node tree.
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": {
"nodeId": "<nodeId>"
},
"name": "export_to_react"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Root node to convert | |
| framework | No | Output framework (default: react-tailwind) | |
| componentName | No | Root component name |