{ "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "blockenberg/icon", "title": "Icon", "description": "Standalone styled icon with label, link, shape, animation, and rich customization.", "category": "bkbg-content", "icon": "star-filled", "keywords": [ "icon", "symbol", "emoji", "badge", "feature" ], "supports": { "html": false, "align": [ "wide", "full" ] }, "attributes": { "icon": { "type": "string", "default": "⭐" }, "iconPreset": { "type": "string", "default": "custom" }, "shape": { "type": "string", "default": "circle" }, "iconSize": { "type": "number", "default": 48 }, "bgSize": { "type": "number", "default": 96 }, "showBg": { "type": "boolean", "default": true }, "borderWidth": { "type": "number", "default": 0 }, "borderRadius": { "type": "number", "default": 50 }, "shadow": { "type": "boolean", "default": false }, "animation": { "type": "string", "default": "none" }, "align": { "type": "string", "default": "center" }, "label": { "type": "string", "default": "" }, "showLabel": { "type": "boolean", "default": false }, "subLabel": { "type": "string", "default": "" }, "showSubLabel": { "type": "boolean", "default": false }, "linkUrl": { "type": "string", "default": "" }, "linkNewTab": { "type": "boolean", "default": false }, "containerBg": { "type": "string", "default": "" }, "bgColor": { "type": "string", "default": "#6366f1" }, "iconColor": { "type": "string", "default": "#ffffff" }, "labelColor": { "type": "string", "default": "#111827" }, "subLabelColor": { "type": "string", "default": "#6b7280" }, "borderColor": { "type": "string", "default": "#6366f1" }, "containerPadding": { "type": "number", "default": 16 }, "gap": { "type": "number", "default": 10 }, "labelSize": { "type": "number", "default": 16 }, "labelFontWeight": { "type": "string", "default": "600" }, "labelLineHeight": { "type": "number", "default": 1.3 }, "subLabelSize": { "type": "number", "default": 13 }, "subLabelFontWeight": { "type": "string", "default": "400" }, "subLabelLineHeight": { "type": "number", "default": 1.4 }, "labelTypo": { "type": "object", "default": {} }, "subLabelTypo": { "type": "object", "default": {} } }, "editorScript": "bkbg-icon-editor", "style": "bkbg-icon-style", "viewScript": "bkbg-icon-frontend" }