insert_svg
Insert SVG markup into Figma, converting it to vector nodes. Create icons from SVG strings at specified positions and sizes.
Instructions
Insert an SVG string into Figma. Use this to create icons from SVG markup. The SVG will be converted to Figma vector nodes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X position | |
| y | No | Y position | |
| name | No | Name for the inserted node | |
| size | No | Target size to scale the SVG to (both width and height) | |
| parentId | No | Parent node ID to insert into | |
| svgString | Yes | The SVG markup string to insert |