[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/blocks/icon/ -> block.json (source)

   1  {
   2      "apiVersion": 3,
   3      "$schema": "https://schemas.wp.org/trunk/block.json",
   4      "name": "core/icon",
   5      "title": "Icon",
   6      "category": "media",
   7      "description": "Insert an SVG icon.",
   8      "keywords": [ "icon", "svg" ],
   9      "textdomain": "default",
  10      "attributes": {
  11          "icon": {
  12              "type": "string",
  13              "role": "content"
  14          }
  15      },
  16      "supports": {
  17          "anchor": true,
  18          "ariaLabel": {
  19              "__experimentalSkipSerialization": true
  20          },
  21          "align": [ "left", "center", "right" ],
  22          "html": false,
  23          "color": {
  24              "background": true,
  25              "text": true,
  26              "__experimentalSkipSerialization": true
  27          },
  28          "interactivity": {
  29              "clientNavigation": true
  30          },
  31          "__experimentalBorder": {
  32              "color": true,
  33              "radius": true,
  34              "style": true,
  35              "width": true,
  36              "__experimentalSkipSerialization": true,
  37              "__experimentalDefaultControls": {
  38                  "color": false,
  39                  "radius": false,
  40                  "style": false,
  41                  "width": false
  42              }
  43          },
  44          "spacing": {
  45              "padding": true,
  46              "margin": true,
  47              "__experimentalSkipSerialization": [ "padding" ],
  48              "__experimentalDefaultControls": {
  49                  "margin": false,
  50                  "padding": false
  51              }
  52          },
  53          "dimensions": {
  54              "width": true,
  55              "__experimentalSkipSerialization": [ "width" ],
  56              "__experimentalDefaultControls": {
  57                  "width": true
  58              }
  59          }
  60      },
  61      "selectors": {
  62          "root": ".wp-block-icon svg",
  63          "css": ".wp-block-icon",
  64          "spacing": {
  65              "margin": ".wp-block-icon"
  66          }
  67      },
  68      "style": "wp-block-icon",
  69      "editorStyle": "wp-block-icon-editor"
  70  }


Generated : Mon Jun 15 08:20:09 2026 Cross-referenced by PHPXref