[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/tabs",
   5      "title": "Tabs",
   6      "description": "Display content in a tabbed interface to help users navigate detailed content with ease.",
   7      "category": "design",
   8      "textdomain": "default",
   9      "allowedBlocks": [ "core/tab-list", "core/tab-panels" ],
  10      "attributes": {
  11          "activeTabIndex": {
  12              "type": "number",
  13              "default": 0
  14          },
  15          "editorActiveTabIndex": {
  16              "type": "number",
  17              "role": "local"
  18          }
  19      },
  20      "supports": {
  21          "align": true,
  22          "anchor": true,
  23          "color": {
  24              "text": true,
  25              "background": true,
  26              "__experimentalDefaultControls": {
  27                  "text": true,
  28                  "background": true
  29              }
  30          },
  31          "layout": {
  32              "allowEditing": false
  33          },
  34          "html": false,
  35          "interactivity": true,
  36          "spacing": {
  37              "blockGap": true,
  38              "margin": true,
  39              "padding": true
  40          },
  41          "typography": {
  42              "fontSize": true,
  43              "__experimentalFontFamily": true
  44          }
  45      },
  46      "usesContext": [ "core/tabs-list", "core/tabs-id" ],
  47      "style": "wp-block-tabs",
  48      "viewScriptModule": "@wordpress/block-library/tabs/view"
  49  }


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