generate-figma-component
Creates Vue code for a Figma component with specified properties, converting design elements into ready-to-use code for Insider Design System.
Instructions
Generate Vue code for a single Figma component with specific properties
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": {
"figmaComponentName": "<figmaComponentName>"
},
"name": "generate-figma-component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| properties | No | Figma component properties | |
| instanceName | No | Instance name for ID generation | |
| figmaComponentName | Yes | Figma component name (e.g., "Button/Primary") |