react_to_figma
Analyze a React/TSX component file and automatically generate corresponding Figma frames and elements to bridge code and design.
Instructions
Analyze a React/TSX component file and create corresponding Figma frames and elements
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": {
"filePath": "<filePath>"
},
"name": "react_to_figma"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute path to the React/TSX component file | |
| pageId | No | Optional Figma page ID to create elements in |