Draw Original UI Icon
draw_iconCreate custom local SVG icons from structured vector primitives like paths, lines, circles, and rectangles, then verify the rendered result instead of using text-to-image generation.
Instructions
Produce a local custom SVG icon from structured path, line, circle, rectangle, ellipse or polyline primitives authored by the coding agent. Not text-to-image generation; verify the rendered result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | Output folder, default ./public/icons/custom. | |
| name | Yes | Lowercase kebab-case filename, e.g. project-progress. | |
| size | No | Rendered icon dimensions, default 24. | |
| elements | Yes | Vector primitives in a 24x24 coordinate system. | |
| overwrite | No | Explicitly replace the target SVG; default false. | |
| strokeWidth | No | Outline width, default 1.75. |