generate_interactive_variants
Generate interactive Figma Component Sets with Default, Hover, Pressed, Focused, and Disabled states, including WCAG focus rings and pre-wired Smart Animate transitions.
Instructions
Generate a complete interactive Component Set with Default, Hover, Pressed, Focused (WCAG 2.4.7 accessible focus ring), and Disabled states with pre-wired prototype Smart Animate transitions
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_interactive_variants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X coordinate on canvas | |
| y | No | Y coordinate on canvas | |
| size | No | Size scale (default: 'medium') | |
| label | No | Element label text (default: 'Confirm & Continue') | |
| element | No | Element type to generate (default: 'button') | |
| variantStyle | No | Visual intent style (default: 'primary') |