# ai-builder/2.2.3/assets/JSON-Blocks/table.js

AI Builder – Generate pages, blocks, images &amp; translate with AI, version 2.2.3. 174 lines.

- Page: https://pluginprobe.com/plugins/ai-builder/2.2.3/code/assets/JSON-Blocks/table.js
- Raw: https://pluginprobe.com/plugins/ai-builder/2.2.3/raw/assets/JSON-Blocks/table.js
- Modified: 2025-08-23T08:19:58+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/ai-builder/2.2.3/code/assets/JSON-Blocks/table.js#L10-L20`.

```javascript
const tableBlocks = [
  {
    id: "table-01",
    jsonBlocks: {
      blockName: "core/group",
      attrs: {
        align: "center",
        className: "table-container",
        style: {
          color: {
            background: "#ffffff",
          },
        },
      },
      innerBlocks: [
        {
          blockName: "core/heading",
          attrs: {
            content: "Table",
            level: 2,
            className: "table-title",
            textAlign: "center",
          },
        },
        {
          blockName: "core/paragraph",
          attrs: {
            content: "Table description",
            className: "table-description ai-text-block",
            textAlign: "center",
          },
        },
        {
          blockName: "core/table",
          attrs: {
            className: "pricing-table",
            hasFixedLayout: true,
          },
          innerBlocks: [
            {
              blockName: "core/table-row",
              attrs: {
                className: "table-header",
              },
              innerBlocks: [
                {
                  blockName: "core/table-cell",
                  attrs: {
                    content: "Features",
                    scope: "col",
                  },
                },
                {
                  blockName: "core/table-cell",
                  attrs: {
                    content: "Basic",
                    scope: "col",
                  },
                },
                {
                  blockName: "core/table-cell",
                  attrs: {
                    content: "Pro",
                    scope: "col",
                  },
                },
                {
                  blockName: "core/table-cell",
                  attrs: {
                    content: "Enterprise",
                    scope: "col",
                  },
                },
              ],
            },
            {
              blockName: "core/table-row",
              attrs: {},
              innerBlocks: [
                {
                  blockName: "core/table-cell",
                  attrs: {
                    content: "Storage",
                  },
                },
                {
                  blockName: "core/table-cell",
                  attrs: {
                    content: "5 GB",
                  },
                },
                {
                  blockName: "core/table-cell",
                  attrs: {
                    content: "50 GB",
                  },
                },
                {
                  blockName: "core/table-cell",
                  attrs: {
                    content: "Unlimited",
                  },
                },
              ],
            },
            {
              blockName: "core/table-row",
              attrs: {},
              innerBlocks: [
                {
                  blockName: "core/table-cell",
                  attrs: {
                    content: "Users",
                  },
                },
                {
                  blockName: "core/table-cell",
                  attrs: {
                    content: "1",
                  },
                },
                {
                  blockName: "core/table-cell",
                  attrs: {
                    content: "5",
                  },
                },
                {
                  blockName: "core/table-cell",
                  attrs: {
                    content: "Unlimited",
                  },
                },
              ],
            },
            {
              blockName: "core/table-row",
              attrs: {},
              innerBlocks: [
                {
                  blockName: "core/table-cell",
                  attrs: {
                    content: "Support",
                  },
                },
                {
                  blockName: "core/table-cell",
                  attrs: {
                    content: "Email",
                  },
                },
                {
                  blockName: "core/table-cell",
                  attrs: {
                    content: "Priority",
                  },
                },
                {
                  blockName: "core/table-cell",
                  attrs: {
                    content: "24/7",
                  },
                },
              ],
            },
          ],
        },
      ],
    },
  },
];

export default tableBlocks;

```
