create_instance_from_instance
Duplicate the main component of an existing Figma instance by creating a new instance linked to the same component. Specify a parent node to place it in a frame, stack, or slot.
Instructions
Create a new instance of whatever main component an existing instance points at. Pass parentNodeId (or parentId) to drop it into a frame, stack, or slot. Inside auto layout omit x/y and use index.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| index | No | ||
| parentId | No | Alias for parentNodeId. | |
| instanceId | Yes | ||
| parentNodeId | No | ||
| ignoreAutoLayout | No | ||
| layoutSizingVertical | No | FIXED | HUG | FILL | |
| layoutSizingHorizontal | No | FIXED | HUG | FILL |