{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "designsetgo/icon",
  "version": "1.0.0",
  "title": "Icon",
  "category": "designsetgo",
  "description": "Display an inline SVG icon with customizable styling.",
  "keywords": [
    "icon",
    "svg",
    "symbol",
    "graphic"
  ],
  "textdomain": "designsetgo",
  "icon": "star-filled",
  "usesContext": [
    "designsetgo/hoverIconBackgroundColor"
  ],
  "supports": {
    "anchor": true,
    "align": [
      "left",
      "center",
      "right",
      "wide",
      "full"
    ],
    "html": false,
    "inserter": true,
    "spacing": {
      "margin": true,
      "padding": true,
      "__experimentalDefaultControls": {
        "margin": true,
        "padding": true
      }
    },
    "color": {
      "background": true,
      "text": true,
      "__experimentalDefaultControls": {
        "background": true,
        "text": true
      }
    },
    "__experimentalBorder": {
      "color": true,
      "radius": true,
      "style": true,
      "width": true,
      "__experimentalDefaultControls": {
        "radius": true
      }
    }
  },
  "attributes": {
    "icon": {
      "type": "string",
      "default": "star"
    },
    "iconStyle": {
      "type": "string",
      "default": "filled",
      "enum": [
        "filled",
        "outlined"
      ]
    },
    "strokeWidth": {
      "type": "number",
      "default": 1.5
    },
    "iconSize": {
      "type": "number",
      "default": 48
    },
    "rotation": {
      "type": "number",
      "default": 0
    },
    "linkUrl": {
      "type": "string",
      "default": ""
    },
    "linkTarget": {
      "type": "string",
      "default": "_self"
    },
    "linkRel": {
      "type": "string",
      "default": ""
    },
    "ariaLabel": {
      "type": "string",
      "default": ""
    },
    "isDecorative": {
      "type": "boolean",
      "default": false
    }
  },
  "example": {
    "attributes": {
      "icon": "star",
      "iconSize": 64
    }
  },
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./index.css"
}