[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/tab-panel",
   5      "title": "Tab Panel",
   6      "description": "Content for a tab in a tabbed interface.",
   7      "category": "design",
   8      "textdomain": "default",
   9      "attributes": {
  10          "label": {
  11              "type": "string",
  12              "default": ""
  13          }
  14      },
  15      "parent": [ "core/tab-panels" ],
  16      "usesContext": [ "core/tabs-id" ],
  17      "supports": {
  18          "anchor": true,
  19          "html": false,
  20          "color": {
  21              "background": true,
  22              "text": true,
  23              "__experimentalDefaultControls": {
  24                  "background": true,
  25                  "text": true
  26              }
  27          },
  28          "layout": true,
  29          "spacing": {
  30              "blockGap": true,
  31              "padding": true
  32          },
  33          "typography": {
  34              "fontSize": true,
  35              "__experimentalFontFamily": true,
  36              "__experimentalDefaultControls": {
  37                  "fontSize": true,
  38                  "__experimentalFontFamily": true
  39              }
  40          },
  41          "visibility": false
  42      },
  43      "providesContext": {
  44          "core/tab-label": "label"
  45      },
  46      "style": "wp-block-tab-panel"
  47  }


Generated : Mon Jul 27 08:20:18 2026 Cross-referenced by PHPXref