[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/tab-list",
   5      "title": "Tab List",
   6      "description": "Display the tab buttons for a tabbed interface.",
   7      "category": "design",
   8      "textdomain": "default",
   9      "parent": [ "core/tabs" ],
  10      "usesContext": [ "core/tabs-list" ],
  11      "attributes": {
  12          "tabs": {
  13              "type": "array",
  14              "source": "query",
  15              "selector": "button",
  16              "query": {
  17                  "label": {
  18                      "type": "rich-text",
  19                      "source": "rich-text",
  20                      "role": "content"
  21                  }
  22              },
  23              "default": []
  24          }
  25      },
  26      "supports": {
  27          "html": false,
  28          "ariaLabel": true,
  29          "visibility": false,
  30          "lock": false,
  31          "color": {
  32              "background": true,
  33              "text": true,
  34              "__experimentalSkipSerialization": true,
  35              "__experimentalDefaultControls": {
  36                  "background": true,
  37                  "text": true
  38              }
  39          },
  40          "typography": {
  41              "fontSize": true,
  42              "__experimentalFontFamily": true
  43          },
  44          "__experimentalBorder": {
  45              "color": true,
  46              "radius": true,
  47              "style": true,
  48              "width": true,
  49              "__experimentalSkipSerialization": true
  50          },
  51          "layout": {
  52              "default": {
  53                  "type": "flex",
  54                  "flexWrap": "wrap"
  55              },
  56              "allowVerticalAlignment": false,
  57              "allowOrientation": false,
  58              "allowWrap": false
  59          },
  60          "spacing": {
  61              "padding": true,
  62              "blockGap": true,
  63              "__experimentalSkipSerialization": [ "padding" ],
  64              "__experimentalDefaultControls": {
  65                  "padding": true,
  66                  "blockGap": true
  67              }
  68          }
  69      },
  70      "selectors": {
  71          "border": ".wp-block-tab-list button",
  72          "color": {
  73              "background": ".wp-block-tab-list button",
  74              "text": ".wp-block-tab-list button"
  75          },
  76          "spacing": {
  77              "padding": ".wp-block-tab-list button"
  78          }
  79      },
  80      "style": "wp-block-tab-list",
  81      "editorStyle": "wp-block-tab-list-editor"
  82  }


Generated : Sun Jul 26 08:20:18 2026 Cross-referenced by PHPXref