# b-blocks/trunk/build/data-table/block.json

bBlocks – Essential Gutenberg Blocks &amp; Patterns Collection, version trunk. 844 lines.

- Page: https://pluginprobe.com/plugins/b-blocks/trunk/code/build/data-table/block.json
- Raw: https://pluginprobe.com/plugins/b-blocks/trunk/raw/build/data-table/block.json
- Modified: 2026-09-22T12:14:02+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/b-blocks/trunk/code/build/data-table/block.json#L10-L20`.

```json
{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "b-blocks/table",
  "version": "1.0.0",
  "title": "Table",
  "category": "bBlocks",
  "description": "Make responsive and feature-rich tables on the go with B Blocks Table, offering styling, typography, and layout options tailored for modern web design.",
  "keywords": [
    "table",
    "b-blocks",
    "b-table"
  ],
  "textdomain": "b-blocks",
  "attributes": {
    "align": {
      "type": "string",
      "default": ""
    },
    "content": {
      "type": "object",
      "default": {
        "cellBorderType": "collapse"
      }
    },
    "options": {
      "type": "object",
      "default": {
        "isEnableHeader": true,
        "isEnableFooter": true,
        "isEnableCaption": true,
        "isStickyHeader": false
      }
    },
    "styles": {
      "type": "object",
      "default": {
        "content": {
          "width": {
            "desktop": "",
            "tablet": "",
            "mobile": ""
          },
          "align": {
            "desktop": "",
            "tablet": "",
            "mobile": ""
          },
          "normal": {
            "border": {
              "color": "#acacac",
              "style": "solid",
              "width": "1px"
            },
            "radius": {
              "desktop": {
                "top": "",
                "right": "",
                "bottom": "",
                "left": ""
              },
              "tablet": {
                "top": "",
                "right": "",
                "bottom": "",
                "left": ""
              },
              "mobile": {
                "top": "",
                "right": "",
                "bottom": "",
                "left": ""
              }
            },
            "transition": 0.2
          },
          "hover": {
            "border": {},
            "radius": {
              "desktop": {
                "top": "",
                "right": "",
                "bottom": "",
                "left": ""
              },
              "tablet": {
                "top": "",
                "right": "",
                "bottom": "",
                "left": ""
              },
              "mobile": {
                "top": "",
                "right": "",
                "bottom": "",
                "left": ""
              }
            }
          }
        },
        "header": {
          "typography": {
            "fontSize": {
              "desktop": "",
              "tablet": "",
              "mobile": ""
            }
          },
          "normal": {
            "color": "",
            "bg": {
              "color": "#d4d4d4"
            },
            "padding": {
              "desktop": {
                "top": "",
                "right": "",
                "bottom": "",
                "left": ""
              },
              "tablet": {
                "top": "",
                "right": "",
                "bottom": "",
                "left": ""
              },
              "mobile": {
                "top": "",
                "right": "",
                "bottom": "",
                "left": ""
              }
            },
            "transition": 0.2
          },
          "hover": {
            "color": "",
            "bg": {},
            "padding": {
              "desktop": {
                "top": "",
                "right": "",
                "bottom": "",
                "left": ""
              },
              "tablet": {
                "top": "",
                "right": "",
                "bottom": "",
                "left": ""
              },
              "mobile": {
                "top": "",
                "right": "",
                "bottom": "",
                "left": ""
              }
            }
          }
        },
        "body": {
          "padding": {
            "desktop": {
              "top": "",
              "right": "",
              "bottom": "",
              "left": ""
            },
            "tablet": {
              "top": "",
              "right": "",
              "bottom": "",
              "left": ""
            },
            "mobile": {
              "top": "",
              "right": "",
              "bottom": "",
              "left": ""
            }
          },
          "normal": {
            "bg": {},
            "oddBg": {},
            "evenBg": {},
            "transition": 0.2
          },
          "hover": {
            "bg": {},
            "oddBg": {},
            "evenBg": {}
          }
        },
        "column": [
          {
            "type": "",
            "color": "",
            "bg": {}
          }
        ],
        "cells": {
          "typography": {
            "fontSize": {
              "desktop": "",
              "tablet": "",
              "mobile": ""
            }
          },
          "border": {},
          "desktop": {
            "radius": {
              "top": "",
              "right": "",
              "bottom": "",
              "left": ""
            },
            "padding": {
              "top": "",
              "right": "",
              "bottom": "",
              "left": ""
            }
          },
          "tablet": {
            "radius": {
              "top": "",
              "right": "",
              "bottom": "",
              "left": ""
            },
            "padding": {
              "top": "",
              "right": "",
              "bottom": "",
              "left": ""
            }
          },
          "mobile": {
            "radius": {
              "top": "",
              "right": "",
              "bottom": "",
              "left": ""
            },
            "padding": {
              "top": "",
              "right": "",
              "bottom": "",
              "left": ""
            }
          },
          "oddCell": {
            "normal": {
              "color": "",
              "bg": {},
              "transition": 0.2
            },
            "hover": {
              "color": "",
              "bg": {}
            }
          },
          "evenCell": {
            "normal": {
              "color": "",
              "bg": {},
              "transition": 0.2
            },
            "hover": {
              "color": "",
              "bg": {}
            }
          }
        },
        "footer": {
          "typography": {
            "fontSize": {
              "desktop": "",
              "tablet": "",
              "mobile": ""
            }
          },
          "padding": {
            "desktop": {
              "top": "",
              "right": "",
              "bottom": "",
              "left": ""
            },
            "tablet": {
              "top": "",
              "right": "",
              "bottom": "",
              "left": ""
            },
            "mobile": {
              "top": "",
              "right": "",
              "bottom": "",
              "left": ""
            }
          },
          "normal": {
            "bg": {
              "color": "#d4d4d4"
            },
            "color": "",
            "transition": 0.2
          },
          "hover": {
            "bg": {},
            "color": ""
          }
        },
        "caption": {
          "position": "bottom",
          "typography": {
            "fontSize": {
              "desktop": "",
              "tablet": "",
              "mobile": ""
            }
          },
          "color": "",
          "bg": {},
          "border": {},
          "desktop": {
            "alignment": "right",
            "radius": {
              "top": "",
              "right": "",
              "bottom": "",
              "left": ""
            },
            "padding": {
              "top": "",
              "right": "",
              "bottom": "",
              "left": ""
            },
            "margin": {
              "top": "",
              "right": "",
              "bottom": "",
              "left": ""
            }
          },
          "tablet": {
            "alignment": "right",
            "radius": {
              "top": "",
              "right": "",
              "bottom": "",
              "left": ""
            },
            "padding": {
              "top": "",
              "right": "",
              "bottom": "",
              "left": ""
            },
            "margin": {
              "top": "",
              "right": "",
              "bottom": "",
              "left": ""
            }
          },
          "mobile": {
            "alignment": "right",
            "radius": {
              "top": "",
              "right": "",
              "bottom": "",
              "left": ""
            },
            "padding": {
              "top": "",
              "right": "",
              "bottom": "",
              "left": ""
            },
            "margin": {
              "top": "",
              "right": "",
              "bottom": "",
              "left": ""
            }
          }
        }
      }
    },
    "datatables": {
      "type": "object",
      "default": {
        "enabled": false,
        "paging": {
          "enabled": true,
          "pageLength": 10,
          "pagingType": "simple_numbers"
        },
        "searching": {
          "enabled": true,
          "smart": true,
          "regex": false,
          "caseInsensitive": true
        },
        "ordering": {
          "enabled": true,
          "multiColumn": false
        },
        "info": true,
        "layout": {
          "topStart": "pageLength",
          "topEnd": "search",
          "bottomStart": "info",
          "bottomEnd": "paging"
        },
        "stateSave": false,
        "autoWidth": true,
        "searchDelay": 400,
        "responsive": true,
        "fixedHeader": false,
        "select": {
          "enabled": false,
          "style": "single"
        },
        "buttons": {
          "enabled": false,
          "copy": false,
          "csv": false,
          "excel": false,
          "pdf": false,
          "print": false,
          "colvis": false
        },
        "serverSide": {
          "enabled": false,
          "endpoint": ""
        },
        "language": {
          "search": "Search:",
          "lengthMenu": "Show _MENU_ entries",
          "info": "Showing _START_ to _END_ of _TOTAL_ entries",
          "emptyTable": "No data available in table",
          "zeroRecords": "No matching records found",
          "paginate": {
            "first": "First",
            "last": "Last",
            "next": "Next",
            "previous": "Previous"
          }
        }
      }
    },
    "datatableStyles": {
      "type": "object",
      "default": {
        "search": {
          "label": {
            "typo": {
              "fontSize": {
                "desktop": "15px",
                "tablet": "",
                "mobile": ""
              }
            },
            "color": "",
            "bg": {},
            "desktop": {
              "padding": {
                "top": "",
                "right": "",
                "bottom": "",
                "left": ""
              },
              "margin": {
                "top": "",
                "right": "",
                "bottom": "",
                "left": ""
              }
            },
            "tablet": {
              "padding": {
                "top": "",
                "right": "",
                "bottom": "",
                "left": ""
              },
              "margin": {
                "top": "",
                "right": "",
                "bottom": "",
                "left": ""
              }
            },
            "mobile": {
              "padding": {
                "top": "",
                "right": "",
                "bottom": "",
                "left": ""
              },
              "margin": {
                "top": "",
                "right": "",
                "bottom": "",
                "left": ""
              }
            }
          },
          "input": {
            "typo": {
              "fontSize": {
                "desktop": "15px",
                "tablet": "",
                "mobile": ""
              }
            },
            "desktop": {
              "padding": {
                "top": "",
                "right": "",
                "bottom": "",
                "left": ""
              },
              "margin": {
                "top": "",
                "right": "",
                "bottom": "",
                "left": ""
              }
            },
            "tablet": {
              "padding": {
                "top": "",
                "right": "",
                "bottom": "",
                "left": ""
              },
              "margin": {
                "top": "",
                "right": "",
                "bottom": "",
                "left": ""
              }
            },
            "mobile": {
              "padding": {
                "top": "",
                "right": "",
                "bottom": "",
                "left": ""
              },
              "margin": {
                "top": "",
                "right": "",
                "bottom": "",
                "left": ""
              }
            },
            "normal": {
              "color": "",
              "bg": {},
              "transition": 0.2,
              "border": {},
              "radius": {
                "top": "",
                "right": "",
                "bottom": "",
                "left": ""
              }
            },
            "hover": {
              "color": "",
              "bg": {},
              "transition": 0.2,
              "border": {},
              "radius": {
                "top": "",
                "right": "",
                "bottom": "",
                "left": ""
              }
            },
            "focus": {
              "color": "",
              "bg": {},
              "transition": 0.2,
              "border": {},
              "radius": {
                "top": "",
                "right": "",
                "bottom": "",
                "left": ""
              }
            }
          }
        },
        "recordInfo": {
          "typo": {
            "fontSize": {
              "desktop": "15px",
              "tablet": "",
              "mobile": ""
            }
          },
          "color": "",
          "bg": {},
          "desktop": {
            "padding": {
              "top": "",
              "left": "",
              "bottom": "",
              "right": ""
            },
            "margin": {
              "top": "",
              "left": "",
              "bottom": "",
              "right": ""
            }
          },
          "tablet": {
            "padding": {
              "top": "",
              "left": "",
              "bottom": "",
              "right": ""
            },
            "margin": {
              "top": "",
              "left": "",
              "bottom": "",
              "right": ""
            }
          },
          "mobile": {
            "padding": {
              "top": "",
              "left": "",
              "bottom": "",
              "right": ""
            },
            "margin": {
              "top": "",
              "left": "",
              "bottom": "",
              "right": ""
            }
          }
        },
        "pageLength": {
          "typo": {
            "fontSize": {
              "desktop": "15px",
              "tablet": "",
              "mobile": ""
            }
          },
          "color": "",
          "bg": {},
          "desktop": {
            "padding": {
              "top": "",
              "left": "",
              "bottom": "",
              "right": ""
            },
            "margin": {
              "top": "",
              "left": "",
              "bottom": "",
              "right": ""
            }
          },
          "tablet": {
            "padding": {
              "top": "",
              "left": "",
              "bottom": "",
              "right": ""
            },
            "margin": {
              "top": "",
              "left": "",
              "bottom": "",
              "right": ""
            }
          },
          "mobile": {
            "padding": {
              "top": "",
              "left": "",
              "bottom": "",
              "right": ""
            },
            "margin": {
              "top": "",
              "left": "",
              "bottom": "",
              "right": ""
            }
          }
        },
        "column": [
          {
            "typo": "",
            "color": "",
            "bg": {}
          }
        ],
        "pagination": {
          "typo": {
            "fontSize": {
              "desktop": "15px",
              "tablet": "",
              "mobile": ""
            }
          },
          "desktop": {
            "padding": {
              "top": "",
              "right": "",
              "bottom": "",
              "left": ""
            }
          },
          "tablet": {
            "padding": {
              "top": "",
              "right": "",
              "bottom": "",
              "left": ""
            }
          },
          "mobile": {
            "padding": {
              "top": "",
              "right": "",
              "bottom": "",
              "left": ""
            }
          },
          "normal": {
            "color": "",
            "bg": {},
            "border": {},
            "radius": {
              "top": "",
              "right": "",
              "bottom": "",
              "left": ""
            },
            "transition": 0.2
          },
          "hover": {
            "color": "",
            "bg": {},
            "border": {},
            "radius": {
              "top": "",
              "right": "",
              "bottom": "",
              "left": ""
            }
          },
          "active": {
            "color": "",
            "bg": {},
            "border": {},
            "radius": {
              "top": "",
              "right": "",
              "bottom": "",
              "left": ""
            }
          }
        },
        "buttons": {
          "typo": {
            "fontSize": {
              "desktop": "15px",
              "tablet": "",
              "mobile": ""
            }
          },
          "desktop": {
            "padding": {
              "top": "",
              "left": "",
              "bottom": "",
              "right": ""
            }
          },
          "tablet": {
            "padding": {
              "top": "",
              "left": "",
              "bottom": "",
              "right": ""
            }
          },
          "mobile": {
            "padding": {
              "top": "",
              "left": "",
              "bottom": "",
              "right": ""
            }
          },
          "normal": {
            "bg": {},
            "color": "",
            "border": {},
            "radius": {},
            "transition": 0.2
          },
          "hover": {
            "bg": {},
            "color": "",
            "border": {},
            "radius": {}
          }
        }
      }
    }
  },
  "supports": {
    "align": [
      "wide",
      "full"
    ],
    "html": false
  },
  "example": {
    "attributes": {}
  },
  "editorScript": "file:../index.js",
  "style": "file:./view.css",
  "render": "file:./render.php",
  "viewScript": "file:./view.js"
}
```
