detach_instance
Detach a Figma component instance into a plain frame to break its link to the main component, keeping its appearance while making layers directly editable.
Instructions
Detach a component instance into a plain frame, permanently breaking its link to the main component; the frame keeps its current appearance and its layers become directly editable. To switch an instance to a different component instead of detaching, use swap_component. Returns { ok, nodeId, name, type } for the resulting frame.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instanceId | Yes | Instance node id to detach |