genart.dev
Plugins

Symbols

Symbol placement from the curated library and custom creation.

Symbol layer for placing curated or custom SVG symbols into design compositions, with search and Iconify integration.

Installation

npm install @genart-dev/plugin-symbols

Layer Types

Type IDDisplay NameDescription
symbol:layerSymbolPlaces a symbol from the library onto the canvas

Properties

symbol:layer

PropertyTypeDefaultDescription
symbolIdstring""Symbol ID (e.g. "nature/tree")
sizenumber64Symbol render size in pixels
colorcolor"#000000"Symbol fill color
strokeColorcolor"none"Symbol stroke color
strokeWidthnumber0Stroke width
opacitynumber1.0Symbol opacity (0-1)
rotationnumber0Rotation in degrees
flipXbooleanfalseHorizontal flip
flipYbooleanfalseVertical flip

MCP Tools

ToolDescription
search_symbolsSearch the symbol library by name, keyword, or category
list_symbol_categoriesList all available symbol categories and counts
add_symbolAdd a symbol to the current sketch
fetch_iconify_iconFetch an icon from the Iconify API and convert to symbol format
create_symbolCreate a custom symbol from SVG path data

Example

{
  "tool": "design_add_layer",
  "arguments": {
    "type": "symbol:layer",
    "properties": {
      "symbolId": "celestial/moon",
      "size": 96,
      "color": "#f0e68c",
      "opacity": 0.9,
      "rotation": 15
    }
  }
}