PHPackages                             smartlogix/smart-table-block - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. smartlogix/smart-table-block

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

smartlogix/smart-table-block
============================

A Gutenberg smart table block with nested row and cell blocks, rich styling controls, and semantic table rendering.

v1.0.1(3mo ago)111↓90.9%1GPL-2.0-or-laterJavaScriptPHP &gt;=7.4CI failing

Since Mar 25Pushed 3mo agoCompare

[ Source](https://github.com/namithj/smart-table-block)[ Packagist](https://packagist.org/packages/smartlogix/smart-table-block)[ Docs](https://github.com/namithj/smart-table-block)[ RSS](/packages/smartlogix-smart-table-block/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Smart Table Block
=================

[](#smart-table-block)

A WordPress Gutenberg block set for building semantic, styleable tables with nested row and cell blocks. The plugin registers three coordinated blocks: a parent table block, row blocks, and cell blocks that can contain other blocks.

Features
--------

[](#features)

- Semantic table output with `table`, `thead`, `tbody`, `tfoot`, `tr`, `th`, and `td`
- Nested block content inside cells
- Table-level styling controls for color, spacing, border, dimensions, and typography
- Row-level styling controls with header, body, and footer row modes
- Cell-level styling controls with support for inner blocks
- Full typography controls on table, row, and cell blocks
- Table-specific settings for caption, layout, border collapse, striped rows, sticky headers, and responsive scrolling
- Default bordered table styling out of the box
- Server-side rendering for clean frontend markup

Block Structure
---------------

[](#block-structure)

The plugin registers these blocks:

BlockPurpose`smartlogix/smart-table`The parent table block that controls overall structure and table-wide settings`smartlogix/smart-table-row`A nested row block used inside Smart Table`smartlogix/smart-table-cell`A nested cell block used inside Smart Table RowRows can be configured as:

- Header rows
- Body rows
- Footer rows

Header rows render their cells as `th`; body and footer rows render their cells as `td`.

Requirements
------------

[](#requirements)

RequirementMinimumWordPress6.5+PHP7.4+Node.js (development only)20+Installation
------------

[](#installation)

### Via Composer

[](#via-composer)

```
composer require smartlogix/smart-table-block
```

If your project already loads Composer's autoloader, the blocks register automatically through `smart-table-block.php`.

### Manual installation

[](#manual-installation)

1. Download the latest release zip from the GitHub Releases page.
2. Extract it into your WordPress plugins directory or your project where you manage shared block libraries.
3. If using it as a library, require the bootstrap file:

```
require_once __DIR__ . '/smart-table-block/smart-table-block.php';
```

If installed as a normal plugin, activate it from the WordPress admin.

Usage
-----

[](#usage)

Search for `Smart Table` in the block inserter.

The default table inserts with starter header and body rows. From there you can:

- Add header, body, or footer rows
- Add more cells to any row
- Place paragraphs, images, buttons, groups, or other allowed blocks inside each cell
- Style the entire table and override styles per row or per cell

### Table settings

[](#table-settings)

SettingDescriptionCaptionAdds a semantic table captionTable Layout`auto` or `fixed`Border Collapse`collapse` or `separate`Striped RowsAdds alternating background styling to body rowsSticky HeaderKeeps header cells fixed while scrollingResponsive Horizontal ScrollWraps the table in a horizontal scroll container### Cell settings

[](#cell-settings)

SettingDescriptionColumn SpanSets `colspan`Row SpanSets `rowspan`WidthAccepts any CSS width valueVertical Align`top`, `middle`, or `bottom`Header ScopeAvailable on header cells for semantic `scope` controlStyling Support
---------------

[](#styling-support)

All block levels expose WordPress block supports where appropriate.

### Table block

[](#table-block)

- Color
- Spacing
- Border
- Dimensions
- Typography
- Alignment

### Row block

[](#row-block)

- Color
- Spacing
- Border
- Dimensions
- Typography

### Cell block

[](#cell-block)

- Color
- Spacing
- Border
- Dimensions
- Typography

Typography support includes options such as:

- Font family
- Font size
- Font style
- Font weight
- Line height
- Letter spacing
- Text alignment
- Text decoration
- Text transform
- Writing mode

Development
-----------

[](#development)

```
git clone https://github.com/namithj/smart-table-block.git
cd smart-table-block
npm install
npm start
npm run build
npm run lint:js
npm run lint:css
```

Build Output
------------

[](#build-output)

Built assets are generated into `build/` and include:

- Shared editor and style bundles
- `build/smart-table/`
- `build/smart-table-row/`
- `build/smart-table-cell/`

CI and Releases
---------------

[](#ci-and-releases)

This repository includes GitHub Actions workflows in `.github/workflows/`:

- `ci.yml` runs linting and build checks on pushes and pull requests
- `release.yml` verifies that `build/` is current and attaches an installable zip to a GitHub Release

Release checklist:

1. Update versions in `package.json`, `composer.json`, `smart-table-block.php`, and the relevant `block.json` files.
2. Run `npm run build`.
3. Commit the updated `build/` output.
4. Push to `main`.
5. Create a GitHub Release.

License
-------

[](#license)

GPL-2.0-or-later

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance82

Actively maintained with recent releases

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

90d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f306e877645b4ee6e9eb24803569b34b71ae21bb566434790e74bdc3673d2be6?d=identicon)[namithj](/maintainers/namithj)

---

Top Contributors

[![namithj](https://avatars.githubusercontent.com/u/48271037?v=4)](https://github.com/namithj "namithj (11 commits)")

---

Tags

wordpressblocktablegutenbergsmart-table

### Embed Badge

![Health badge](/badges/smartlogix-smart-table-block/health.svg)

```
[![Health](https://phpackages.com/badges/smartlogix-smart-table-block/health.svg)](https://phpackages.com/packages/smartlogix-smart-table-block)
```

###  Alternatives

[log1x/poet

Configuration-based post type, taxonomy, editor color palette, block category, and block registration for Sage 10.

219293.1k1](/packages/log1x-poet)[log1x/acf-editor-palette

A replica Gutenberg color picker field for Advanced Custom Fields.

101299.6k](/packages/log1x-acf-editor-palette)[tobiasbg/tablepress

TablePress plugin for WordPress

29018.0k](/packages/tobiasbg-tablepress)[infinum/eightshift-libs

WordPress libs developed by Eightshift team to use in modern WordPress.

63123.8k3](/packages/infinum-eightshift-libs)[generoi/wp-gutenberg-button-popup

A boilerplate WordPress Gutenberg block

181.6k](/packages/generoi-wp-gutenberg-button-popup)[tiny-pixel/acorn-block-templates

Block templates for Sage 10

191.3k](/packages/tiny-pixel-acorn-block-templates)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
