Create Node from SVG
create_svgConvert an SVG markup string into a new Figma node and add it at a specified position and parent.
Instructions
Create a node from an SVG markup string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| svg | Yes | The SVG XML string | |
| name | No | Name for the new node | |
| parentId | No | Parent ID to append to | |
| parentNodeName | No | Parent Name to verify against | |
| x | No | X position | |
| y | No | Y position |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the created node | |
| name | Yes | Name of the created node |