Blog · Gutenberg

TL;DR Box block for WordPress

Article TL;DR / executive summary box with optional bullet points and read-time indicator.

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

Article TL;DR / executive summary box with optional bullet points and read-time indicator.

Inspector panels on this block: Content, Style & Spacing. Those titles come from index.js, not from a shared template.

Behavior controls: “Style & Spacing — Style” options: Highlight (accent fill), Minimal (clean border), Card (shadow), Sidebar (left stripe).

Where to find it

Gutenberg inserter → Blog → search “TL;DR Box” (block name `blockenberg/tldr-box` in block.json). Style it in the sidebar after insert.

How to use TL;DR Box block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “TL;DR Box”, insert it. Category: Blog.
  3. Configure inspector controls that exist on this block. Open Content. Set “Show Icon”, “Heading Text”, “Show Bullet Points”, “Show Read Time”.
  4. Check the published page. The view script reads HTML data attributes: data-opts, data-rendered. The block editor preview may not run the same view script.

Inspector controls from this block’s code

ControlWhat the code does
Show IconOn/off toggle in the inspector. On by default. Saved as `showIcon`.
Heading TextText field in the inspector. block.json default: TL;DR. Saved as `heading`.
Show Bullet PointsOn/off toggle in the inspector. On by default. Saved as `showPoints`.
Show Read TimeOn/off toggle in the inspector. Off by default. Saved as `showReadTime`.
Read TimeText field in the inspector. Saved as `readTime`.
Expandable (show/hide toggle)On/off toggle in the inspector. Off by default. Saved as `expandable`.
Collapse LabelText field in the inspector. block.json default: Read full article. Saved as `collapseLabel`.
Expand LabelText field in the inspector. block.json default: Show less. Saved as `expandLabel`.
Style & Spacing — StyleSelect control; the chosen value is saved on the block. Options: Highlight (accent fill); Minimal (clean border); Card (shadow); Sidebar (left stripe). block.json default: highlight. Saved as `style`.
Border RadiusNumeric range control in the inspector. Range 0–30. block.json default: 10. Saved as `borderRadius`.
Padding TopNumeric range control in the inspector. Range 0–100. block.json default: 0. Saved as `paddingTop`.
Padding BottomNumeric range control in the inspector. Range 0–100. block.json default: 0. Saved as `paddingBottom`.
Colors — BackgroundColor control in the inspector. block.json default: #fef9c3. Saved as `bgColor`.
Colors — BorderColor control in the inspector. block.json default: #fde047. Saved as `borderColor`.
AccentColor control in the inspector. block.json default: #ca8a04. Saved as `accentColor`.
HeadingColor control in the inspector. block.json default: #713f12. Saved as `headingColor`.
Colors — IconColor control in the inspector. block.json default: #ca8a04. Saved as `iconColor`.
SummaryColor control in the inspector. block.json default: #1c1917. Saved as `summaryColor`.
Bullet PointsColor control in the inspector. block.json default: #292524. Saved as `pointColor`.
Meta / Read TimeColor control in the inspector. block.json default: #a8a29e. Saved as `metaColor`.

What the front-end script actually does

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 TL;DR Box block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “TL;DR Box”. It sits under Blog. After insert, open Content and set “Show Icon”, “Heading Text”, “Show Bullet Points”, “Show Read Time”.

What makes TL;DR Box different from other Blockenberg blocks?

Article TL;DR / executive summary box with optional bullet points and read-time indicator. Inspector labels on this block include “Show Icon”, “Heading Text”, “Show Bullet Points”, “Show Read Time”.

Is the TL;DR Box Gutenberg block free?

Yes. TL;DR Box ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.

Can I style TL;DR Box 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: Content, Style & Spacing).

Related blog blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert TL;DR Box from the Gutenberg inserter.

Get Blockenberg