Charts · Gutenberg

Comparison Table block for WordPress

Feature matrix comparing multiple plans with check/cross marks, text values, and a highlighted popular column.

Get Blockenberg

Free Gutenberg block in Blockenberg. The inspector controls and front-end behavior on this page come from this block’s source, not a shared stub.

Get Blockenberg

What it actually does

Feature matrix comparing multiple plans with check/cross marks, text values, and a highlighted popular column.

Inspector panels on this block: Plans (Columns), Features (Rows). Those titles come from index.js, not from a shared template.

Comparison Table has no render.php and no frontend.js. The saved Gutenberg HTML is what visitors see, plus Blockenberg layout/typography CSS.

Where to find it

Gutenberg inserter → Charts → search “Comparison Table” (block name `blockenberg/comparison-table` in block.json). Style it in the sidebar after insert.

How to use Comparison Table block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Comparison Table”, insert it. Category: Charts.
  3. Configure inspector controls that exist on this block. Open Plans (Columns). Set “Plan Name”, “Subtitle / Price”, “Highlighted (Popular)”, “Feature Label”.
  4. Publish. Save the page. Output is the saved block HTML; typography/colors follow Blockenberg shared panels.

Inspector controls from this block’s code

ControlWhat the code does
Plan NameText field in the inspector.
Subtitle / PriceText field in the inspector.
Highlighted (Popular)On/off toggle in the inspector.
Feature LabelText field in the inspector.
Border RadiusNumeric range control in the inspector. Range 0–32. block.json default: 12. Saved as `borderRadius`.
Zebra StripesOn/off toggle in the inspector. On by default. Saved as `zebraStripe`.
Sticky HeaderOn/off toggle in the inspector. Off by default. Saved as `stickyHeader`.
Header BackgroundColor control in the inspector. block.json default: #6c3fb5. Saved as `headerBg`.
Header TextColor control in the inspector. block.json default: #ffffff. Saved as `headerText`.
Highlight BackgroundColor control in the inspector. block.json default: #f3eeff. Saved as `highlightBg`.
Highlight BorderColor control in the inspector. block.json default: #6c3fb5. Saved as `highlightBorder`.
Check ColorColor control in the inspector. block.json default: #22c55e. Saved as `checkColor`.
Cross ColorColor control in the inspector. block.json default: #ef4444. Saved as `crossColor`.

When this is the right block

Notes from the implementation

viewScript: this folder’s frontend.js is enqueued on the front end for this block.

FAQ

How do I add the Comparison Table block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Comparison Table”. It sits under Charts. After insert, open Plans (Columns) and set “Plan Name”, “Subtitle / Price”, “Highlighted (Popular)”, “Feature Label”.

What makes Comparison Table different from other Blockenberg blocks?

Feature matrix comparing multiple plans with check/cross marks, text values, and a highlighted popular column. Inspector labels on this block include “Plan Name”, “Subtitle / Price”, “Highlighted (Popular)”, “Feature Label”.

Is the Comparison Table Gutenberg block free?

Yes. Comparison Table ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.

Can I style Comparison Table to match my theme?

Yes. Blockenberg’s shared typography and color panels apply here, plus any block-specific style controls listed on this page (panels: Plans (Columns), Features (Rows)).

Related charts blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Comparison Table from the Gutenberg inserter.

Get Blockenberg