figma_arrange_component_set
Organizes a component set into a labeled variant grid with Figma's native purple dashed visualization. Use it to clean up sets and lay out variant states and properties.
Instructions
Organize a component set with Figma's native purple dashed visualization. Use after creating variants, adding states (hover/disabled/pressed), or when component sets need cleanup.
Recreates the set using figma.combineAsVariants() for proper Figma integration, applies purple dashed border styling, and arranges variants in a labeled grid (columns = last property like State, rows = other properties like Type+Size). Creates a white container with title, row/column labels, and the component set.
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": "figma_arrange_component_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | Layout options | |
| componentSetId | No | Node ID of the component set to arrange. If not provided, will look for a selected component set. | |
| componentSetName | No | Name of the component set to find. Used if componentSetId not provided. |