append_to_slot
Reparent existing Figma nodes into a SLOT so they join its layout flow, with optional index and layout sizing. Use this instead of moving nodes afterward.
Instructions
Reparent existing nodes into a SLOT. Children join the slot's layout flow (AUTO + FILL when the slot is auto layout) at 0,0 when it is freeform. Do not move_node afterwards. Optionally pass index and layoutSizing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | ||
| nodeIds | Yes | ||
| slotNodeId | Yes | ||
| ignoreAutoLayout | No | ||
| layoutSizingVertical | No | FIXED | HUG | FILL | |
| layoutSizingHorizontal | No | FIXED | HUG | FILL — default FILL when the slot itself is auto layout. |