figma_arrange_component_set
Arrange variants in a labeled grid and wrap component sets in a titled container without breaking instances. Non-destructively reorganizes existing variants in place.
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.
Non-destructive: rearranges the existing variants in place (grid positions on the existing set's children), so the component set keeps its node ID and all placed instances remain intact. Arranges variants in a labeled grid (columns = last property like State, rows = other properties like Type+Size) and wraps the set in a white container with title, row/column labels. Safe to run on component sets with placed instances, and safe to re-run.
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. |