# ablocks/2.16.0/assets/build/blocks/menu-item/block.json

aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder &amp; Animation Builder, version 2.16.0. 248 lines.

- Page: https://pluginprobe.com/plugins/ablocks/2.16.0/code/assets/build/blocks/menu-item/block.json
- Raw: https://pluginprobe.com/plugins/ablocks/2.16.0/raw/assets/build/blocks/menu-item/block.json
- Modified: 2026-10-08T16:01:50+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/ablocks/2.16.0/code/assets/build/blocks/menu-item/block.json#L10-L20`.

```json
{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 3,
    "name": "ablocks/menu-item",
    "version": "0.1.0",
    "title": "Menu Item",
    "category": "ablocks",
    "icon": "smiley",
    "description": "Show Submenu",
    "example": [],
    "parent": [
        "ablocks/menu",
        "ablocks/menu-child-sub"
    ],
    "supports": {
        "html": false,
        "anchor": true
    },
    "textdomain": "ablocks",
    "style": [],
    "attributes": {
        "block_id": {
            "type": "string",
            "default": ""
        },
        "label": {
            "type": "string",
            "default": "Menu"
        },
        "isSubMenu": {
            "type": "boolean",
            "default": false
        },
        "hasMegaMenu": {
            "type": "boolean",
            "default": false
        },
        "hasLink": {
            "type": "boolean",
            "default": false
        },
        "link": {
            "type": "object",
            "default": {
                "linkDestination": "",
                "href": "",
                "lightbox": "",
                "linkTarget": "",
                "rel": "",
                "noFollow": "",
                "keyValue": "",
                "linkClass": ""
            }
        },
        "showIcon": {
            "type": "boolean",
            "default": false
        },
        "iconPosition": {
            "type": "string",
            "default": "left"
        },
        "iconSvgPath": {
            "type": "string",
            "default": "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm84-143.4c-20.8 25-51.5 39.4-84 39.4s-63.2-14.3-84-39.4c-8.5-10.2-23.6-11.5-33.8-3.1-10.2 8.5-11.5 23.6-3.1 33.8 30 36 74.1 56.6 120.9 56.6s90.9-20.6 120.9-56.6c8.5-10.2 7.1-25.3-3.1-33.8-10.2-8.4-25.3-7.1-33.8 3.1zM136.5 211c7.7-13.7 19.2-21.6 31.5-21.6s23.8 7.9 31.5 21.6l9.5 17c2.1 3.7 6.2 4.7 9.3 3.7 3.6-1.1 6-4.5 5.7-8.3-3.3-42.1-32.2-71.4-56-71.4s-52.7 29.3-56 71.4c-.3 3.7 2.1 7.2 5.7 8.3 3.4 1.1 7.4-.5 9.3-3.7l9.5-17zM328 152c-23.8 0-52.7 29.3-56 71.4-.3 3.7 2.1 7.2 5.7 8.3 3.5 1.1 7.4-.5 9.3-3.7l9.5-17c7.7-13.7 19.2-21.6 31.5-21.6s23.8 7.9 31.5 21.6l9.5 17c2.1 3.7 6.2 4.7 9.3 3.7 3.6-1.1 6-4.5 5.7-8.3-3.3-42.1-32.2-71.4-56-71.4z"
        },
        "iconSvgViewBox": {
            "type": "string",
            "default": "0 0 496 512"
        },
        "iconClass": {
            "type": "string",
            "default": "far fa-smile-beam"
        },
        "iconImageUrl": {
            "type": "string",
            "default": ""
        },
        "iconImageID": {
            "type": "number",
            "default": 0
        },
        "iconImageSize": {
            "type": "string",
            "default": ""
        },
        "iconColor": {
            "type": "string",
            "default": ""
        },
        "iconBgColor": {
            "type": "string",
            "default": ""
        },
        "iconHoverColor": {
            "type": "string",
            "default": ""
        },
        "iconHoverBgColor": {
            "type": "string",
            "default": ""
        },
        "iconType": {
            "type": "string",
            "default": "default"
        },
        "iconShape": {
            "type": "string",
            "default": "circle"
        },
        "iconPadding": {
            "type": "object",
            "default": {
                "isLinked": true,
                "common": "",
                "top": "",
                "right": "",
                "bottom": "",
                "left": "",
                "unit": "px"
            }
        },
        "iconBorder": {
            "type": "object",
            "default": {
                "borderStyle": "default",
                "borderStyleH": "default",
                "borderColor": "",
                "borderColorH": "",
                "isLinkedWidth": true,
                "isLinkedWidthTablet": true,
                "isLinkedWidthMobile": true,
                "commonWidth": "",
                "topWidth": "",
                "rightWidth": "",
                "bottomWidth": "",
                "leftWidth": "",
                "unitWidth": "px",
                "isLinkedWidthH": true,
                "isLinkedWidthHTablet": true,
                "isLinkedWidthHMobile": true,
                "commonWidthH": "",
                "topWidthH": "",
                "rightWidthH": "",
                "bottomWidthH": "",
                "leftWidthH": "",
                "unitWidthH": "px",
                "isLinkedRadius": true,
                "commonRadius": "",
                "topRadius": "",
                "rightRadius": "",
                "bottomRadius": "",
                "leftRadius": "",
                "unitRadius": "px",
                "isLinkedRadiusH": true,
                "isLinkedRadiusHTablet": true,
                "isLinkedRadiusHMobile": true,
                "commonRadiusH": "",
                "topRadiusH": "",
                "leftRadiusH": "",
                "unitRadiusH": "px",
                "transitionDuration": ""
            }
        },
        "iconBoxShadow": {
            "type": "object",
            "default": {
                "preset": "",
                "shadowType": "default",
                "shadow": "",
                "horizontal": "",
                "vertical": "",
                "blur": "",
                "spread": "",
                "color": "",
                "presetH": "",
                "shadowTypeH": "default",
                "shadowH": "",
                "horizontalH": "",
                "verticalH": "",
                "blurH": "",
                "spreadH": "",
                "colorH": "",
                "transitionDuration": "0"
            }
        },
        "iconSize": {
            "type": "number",
            "default": 16
        },
        "iconRotate": {
            "type": "number",
            "default": 0
        },
        "iconSizing": {
            "type": "object",
            "default": {
                "value": 16,
                "valueTablet": "",
                "valueMobile": "",
                "valueUnit": "px",
                "valueUnitTablet": "",
                "valueUnitMobile": ""
            }
        },
        "iconRotated": {
            "type": "object",
            "default": {
                "value": 0,
                "valueTablet": "",
                "valueMobile": "",
                "valueUnit": "deg",
                "valueUnitTablet": "",
                "valueUnitMobile": ""
            }
        },
        "iconRotateHover": {
            "type": "object",
            "default": {
                "value": 0,
                "valueTablet": "",
                "valueMobile": "",
                "valueUnit": "deg",
                "valueUnitTablet": "",
                "valueUnitMobile": ""
            }
        },
        "icontransitionDuration": {
            "type": "number",
            "default": 0
        },
        "iconImageWidth": {
            "type": "number",
            "default": 0
        },
        "iconSpace": {
            "type": "object",
            "default": {
                "value": 8,
                "valueTablet": "",
                "valueMobile": "",
                "valueUnit": "px",
                "valueUnitTablet": "",
                "valueUnitMobile": ""
            }
        }
    }
}
```
