[ 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          "background": {
  24              "backgroundImage": true,
  25              "backgroundSize": true,
  26              "gradient": true,
  27              "__experimentalDefaultControls": {
  28                  "backgroundImage": true
  29              }
  30          },
  31          "color": {
  32              "text": true,
  33              "background": true,
  34              "heading": true,
  35              "button": true,
  36              "link": true,
  37              "__experimentalDefaultControls": {
  38                  "text": true,
  39                  "background": true
  40              }
  41          },
  42          "__experimentalBorder": {
  43              "color": true,
  44              "radius": true,
  45              "style": true,
  46              "width": true
  47          },
  48          "layout": {
  49              "allowEditing": false
  50          },
  51          "html": false,
  52          "interactivity": true,
  53          "spacing": {
  54              "blockGap": true,
  55              "margin": true,
  56              "padding": true
  57          },
  58          "dimensions": {
  59              "minWidth": true
  60          },
  61          "shadow": true,
  62          "typography": {
  63              "fontSize": true,
  64              "lineHeight": true,
  65              "__experimentalFontFamily": true,
  66              "__experimentalFontWeight": true,
  67              "__experimentalFontStyle": true,
  68              "__experimentalTextTransform": true,
  69              "__experimentalLetterSpacing": true
  70          }
  71      },
  72      "usesContext": [ "core/tabs-list", "core/tabs-id" ],
  73      "style": "wp-block-tabs",
  74      "viewScriptModule": "@wordpress/block-library/tabs/view"
  75  }


Generated : Sun Oct 25 08:20:35 2026 Cross-referenced by PHPXref