create_icon_component
Create an icon component from SVG content by inserting, flattening, resizing, setting fill color, and converting to a Component. Returns component ID and key.
Instructions
Create an icon component from SVG content. Inserts SVG, flattens vectors, resizes to standard size, sets fill color, and converts to a Component. Returns component ID and key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X position | |
| y | No | Y position | |
| name | No | Component name, e.g. Icon/Navigation/ArrowBack | |
| size | No | Icon size in px (default 24) | |
| parentId | No | Parent frame ID | |
| fillColor | No | Fill color hex, e.g. #1C1C1C | |
| svgContent | Yes | SVG markup string |