Marketing · Gutenberg
Comparison Matrix block for WordPress
Feature comparison table with checkmarks, icons, and highlighted columns.
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.
What it actually does
Feature comparison table with checkmarks, icons, and highlighted columns.
Inspector panels on this block: Plans / Columns, Features / Rows, Appearance. Those titles come from index.js, not from a shared template.
Where to find it
Gutenberg inserter → Marketing → search “Comparison Matrix” (block name `blockenberg/comparison-matrix` in block.json). Style it in the sidebar after insert.
How to use Comparison Matrix block for WordPress
- Install Blockenberg. Install from WordPress.org and activate the plugin.
- Insert the block. Edit a page, click +, search for “Comparison Matrix”, insert it. Category: Marketing.
- Configure inspector controls that exist on this block. Open Plans / Columns. Set “Name”, “Subtitle”, “Badge (optional)”, “Highlight (featured)”.
- Check the published page. The view script reads HTML data attributes: data-opts. The block editor preview may not run the same view script.
Inspector controls from this block’s code
| Control | What the code does |
|---|---|
| Name | Text field in the inspector. |
| Subtitle | Text field in the inspector. |
| Badge (optional) | Text field in the inspector. |
| Highlight (featured) | On/off toggle in the inspector. |
| Feature Label | Text field in the inspector. |
| Group Header (optional) | Text field in the inspector. |
| Cell Padding (px) | Numeric range control in the inspector. Range 8–32. block.json default: 16. Saved as `cellPadding`. |
| Header Radius (px) | Numeric range control in the inspector. Range 0–24. block.json default: 12. Saved as `headerRadius`. |
| First Column Width (px) | Numeric range control in the inspector. Range 100–400. block.json default: 200. Saved as `firstColWidth`. |
| Sticky Header Row | On/off toggle in the inspector. On by default. Saved as `stickyHeader`. |
| Header BG | Color control in the inspector. block.json default: #f8fafc. Saved as `headerBg`. |
| Header Text | Color control in the inspector. block.json default: #0f172a. Saved as `headerColor`. |
| Highlight BG | Color control in the inspector. block.json default: #6366f1. Saved as `highlightBg`. |
| Highlight Text | Color control in the inspector. block.json default: #ffffff. Saved as `highlightColor`. |
| Row Color | Color control in the inspector. block.json default: #334155. Saved as `rowColor`. |
| Colors — Border | Color control in the inspector. block.json default: #e2e8f0. Saved as `borderColor`. |
| Check | Color control in the inspector. block.json default: #10b981. Saved as `checkColor`. |
| Cross | Color control in the inspector. block.json default: #f43f5e. Saved as `crossColor`. |
What the front-end script actually does
- The view script reads HTML data attributes: data-opts.
When this is the right block
- Feature comparison table with checkmarks, icons, and highlighted columns — that is the job of Comparison Matrix, not a generic content block.
- Use it when you need the editor control labeled “Name”, which exists on this block’s inspector.
- Inserter grouping: landing pages, campaign sections, and conversion layouts.
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 Matrix block in WordPress?
Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Comparison Matrix”. It sits under Marketing. After insert, open Plans / Columns and set “Name”, “Subtitle”, “Badge (optional)”, “Highlight (featured)”.
What makes Comparison Matrix different from other Blockenberg blocks?
Feature comparison table with checkmarks, icons, and highlighted columns. Inspector labels on this block include “Name”, “Subtitle”, “Badge (optional)”, “Highlight (featured)”.
Is the Comparison Matrix Gutenberg block free?
Yes. Comparison Matrix ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.
Can I style Comparison Matrix 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, Appearance).
Related marketing blocks
Affiliate Disclosure
Styled FTC-compliant affiliate link disclosure notice for articles and reviews. Distinct from Affiliate Review Box — this is the small legal notice, not a full product review.
Affiliate Review Box
Structured product review block with score badge, pros & cons columns, verdict summary, price display, and affiliate CTA button.
Affiliate Section
Affiliate/referral program landing section with commission highlight, how-it-works steps, benefits list, and stats.
Age Gate
Age verification overlay that protects page content behind a customizable age confirmation dialog.
Announcement Strip
A thin dismissible announcement bar — ideal above the site header for promotions, launches, or alerts.
App Download
Ready-made app promotion section with iOS / Android badges, device screenshot, heading, subtitle, ratings/reviews, and full background controls.
Get Blockenberg
Install Blockenberg from WordPress.org, then insert Comparison Matrix from the Gutenberg inserter.