illustration
A named SVG from one of four built-in libraries, optionally recoloured.
See also
This is the import-time schema. To override an existing illustration layer's properties at generation time, see Element Properties → Illustration.
| Property | Type | Notes |
|---|---|---|
illustration_type | enum | Required. The library: undraw, feather, twemoji or material_icons. See Element Properties → Illustration for what each library contains and links to browse them. |
illustration_file | string | Required. The illustration's name within that library — icon name for feather, file name without extension for undraw, icon id (e.g. visibility_off) for material_icons, emoji name for twemoji. |
illustration_properties | object | { primary_color } — recolours the art. Hex/CMYK only, see Color & Length Conventions. Available for undraw, feather, and material_icons only — twemoji colors are fixed. |
alignment | enum | One of the 9 grid positions. Defaults to middle center. A single token is also accepted and names one axis, the other taking its middle value: center is middle center, top is top center, left is middle left. Exports always return the two-token form. |
opacity | int | 0–100. Defaults to 100. |
rotation | float | 0–360 inclusive. |
Only three libraries recolour
undraw, feather and material_icons honour illustration_properties.primary_color. twemoji art is multi-colour and the renderer ignores it — the field is accepted rather than rejected, so a design carrying both still round-trips.
