GuidePremium
Layout and article blocks in CoullWorks Blog for Laravel
The columns, section, cta, toc, takeaways, faq, table, html and products blocks: every field with its limits, nesting rules, how each renders, the stored JSON, with screenshots.
Updated 16 November 2026Back to the package pageBuy
These blocks arrange content or add article furniture: columns, sections, a call to action, a contents list, key takeaways, a question list, a table, raw HTML and product cards. Adding, moving and deleting blocks is in the block editor. The editor screenshots show the Edit block dialog opened from the gear on a block's line; the rendered screenshots show the block on the Blade front end of the demo blog.
Columns#

The Columns block form with three columns. Each column holds its own blocks.

The three columns on the page.
What it is for. Short items side by side: three tips, a comparison, a before and after.
Add it. Picker group layout, entry Columns. Choose Number of columns, then press the Add your first block button inside each column.
| Field (label) | Type | Required | Default | Allowed values and validation | What it does |
|---|---|---|---|---|---|
| Number of columns | Select (not stored) | Yes | 2 columns | 2, 3 or 4 columns | Sets how many columns there are. Raising it adds empty columns. Lowering it removes empty ones only. |
Columns (columns) | List of columns | Yes | 2 columns | 2 to 4 | Each column is labelled Column 1, Column 2 and so on. Drag to reorder; the bin deletes a column and asks "Delete this column?" first, because the blocks in it go too. |
Blocks (columns.blocks) | Nested block list | Yes | Empty | Up to 20 blocks per column; no Section or Columns inside | The content of that column. |
Stored: { "columns": [ { "blocks": [ { "type": "coullworks.text", "v": 1, "data": {...} } ] }, { "blocks": [ ... ] } ] }. The path of the first block in the second column is 3.columns.1.children.0 (when the Columns block is the fourth block).
Rules. One container level only: no Columns inside Columns, none inside a Section. Nested blocks count towards the post's block limit (see the block limits). Reducing the count never throws blocks away; a column that holds blocks stays, with the notice "Those columns hold blocks".
How it renders. Side by side from 768 px wide, stacked below. The reading and keyboard order is always column 1, then column 2, then column 3.
Tips. Keep columns short and alike in length. On a phone they become one long stack, so do not rely on a column being next to another.
Common mistakes. Putting a long article in a column, and expecting a Section to go inside (it will not be offered).
Section#

The Section block form with a wide width, a pale blue background and two child blocks.

The section on the page: a coloured band holding its blocks.
What it is for. A band with its own width, background and spacing that holds other blocks: a boxed pack list, a feature panel.
Add it. Picker group layout, entry Section. Use Add your first block under Children to fill it.
| Field (label) | Type | Required | Default | Allowed values and validation | What it does |
|---|---|---|---|---|---|
Width (width) | Select | Yes | text | narrow, text, wide, bleed | How wide the section runs, from narrower than the text to wider than it. |
Background color (background_color) | Text input | No | Empty | Up to 32 characters: a hex colour (#eef3f8), a plain colour name (white) or a design token such as var(--cw-panel) | The fill colour. |
Background (background) | Image upload | No | Empty | An image up to 10 MB | A background picture. |
Padding (padding) | Select | Yes | md | none, sm, md, lg | The space between the edge and the content. |
Children (children) | Nested block list | No | Empty | Blocks other than Section and Columns | The content. |
Stored: { "width": "wide", "background_color": "#eef3f8", "background": null, "padding": "md", "children": [ { "type": "coullworks.heading", ... } ] }.
Tips. In the article-with-rail layout wide and bleed stay within the column, so the rail is not covered. Check text contrast against a dark background colour.
Common mistakes. A colour like rgb(...) or light blue (only the three forms above pass), and nesting a Columns block (not offered).
Cta#

The Cta block form for a button linking to an address.

The call to action in the button style.
What it is for. A single, clear next step: download, buy, read on.
Add it. Picker group commerce, entry Cta.
| Field (label) | Type | Required | Default | Allowed values and validation | What it does |
|---|---|---|---|---|---|
Style (style) | Select | Yes | button | button, card | A button, or a card with the optional image and text. |
Title (title) | Text input | Yes | Empty | Up to 255 characters | The headline, and the button words. |
Text (text) | Text input | No | Empty | Up to 500 characters | A supporting line. |
Link (link) | Link picker | Yes | Empty | Address, Post, Category or Tag | Where it goes. Choosing a kind shows its field: Address (up to 2048 characters, starting https://, http://, mailto:, tel:, / or #), or a searchable Post, Category or Tag. A post, category or tag link follows the item if its address changes. |
Media (media) | Image upload | No | Empty | An image up to 10 MB | An image for the card style. |
Stored: { "style": "button", "title": "Get the printable kit list", "text": "One page, no sign-up, tuned for a weekend.", "link": { "kind": "url", "url": "https://example.com/shop" }, "media": null }.
Tips. One call to action per article reads as an invitation; five read as an advert. Link to a Post, Category or Tag when the target is on your blog.
Common mistakes. Choosing Address and leaving the address empty (refused), and writing a Title that does not say what happens next.
Toc#

The Toc block form has two fields.

The contents list. It lists the headings of this demo post that match the chosen level.
What it is for. A contents list at the top of a long article, built from the article's own Heading blocks.
Add it. Picker group navigation, entry Toc.
| Field (label) | Type | Required | Default | Allowed values and validation | What it does |
|---|---|---|---|---|---|
Levels (levels) | Select | Yes | h2-h3 | h2, h2-h3 | Which heading levels are listed. h3 entries are indented under their h2. |
Title (title) | Text input | No | Empty | Up to 255 characters | A label above the list. When empty, the list is still named "On this page" for screen readers. |
Stored: { "levels": "h2-h3", "title": "In this guide" }. The list itself is not stored; it is built from the headings each time the page is drawn.
Tips. It lists only Heading blocks, in order, including those inside a Section, and links to each heading's anchor. If the article has no matching heading, the block draws nothing at all.
Common mistakes. Adding a Toc to a short article, and expecting headings typed inside a Text block to be listed.
Takeaways#

The Takeaways block form with four items.

This capture is the article rail of the post, where the first Takeaways block is shown under On this page. The rail also holds the author box and related posts.
What it is for. The few points a reader should leave with. The first Takeaways block of a post also feeds the article rail when the post uses the Blog default article layout.
Add it. Picker group text, entry Takeaways. Press Add to items for each point.
| Field (label) | Type | Required | Default | Allowed values and validation | What it does |
|---|---|---|---|---|---|
Title (title) | Text input | No | Empty | Up to 255 characters | The heading of the list. When empty the page says "Key takeaways". |
Items (items) | List | Yes | Empty | 1 to 20 items | The points. |
Text (items.text) | Text input | Yes | Empty | Up to 500 characters | One point. |
Stored: { "title": "Key takeaways", "items": [ { "text": "Choose for the worst night you expect, not the average one." } ] }.
Tips. Three to five short points. Write each so it makes sense alone. Where a post has no rail, the block is drawn as a boxed list in the body.
Common mistakes. Using it as a table of contents, and writing points longer than a sentence.
FAQ#

The FAQ block form with five items. Open first is on.

The accordion on the page. The first answer is open because Open first is on.
What it is for. Questions and answers readers actually ask, as a list that opens and closes.
Add it. Picker group text, entry Faq. Press Add to items for each question.
| Field (label) | Type | Required | Default | Allowed values and validation | What it does |
|---|---|---|---|---|---|
Items (items) | List | Yes | Empty | At least 1 item | The questions. Drag to reorder. |
Question (items.question) | Text input | Yes | Empty | Up to 500 characters | The question. |
Answer (items.answer) | Rich text, full toolbar | Yes | Empty | Text; HTML is cleaned on save | The answer. |
Open first (open_first) | Toggle | No | Off | On or off | Opens the first answer when the page loads. |
Stored: { "items": [ { "question": "Is a footprint worth buying?", "answer": "<p>For the first season, yes.</p>" } ], "open_first": true }.
Search data. When the SEO setting seo.output.jsonld.faq is on (see SEO settings), the block also adds FAQPage structured data from the same questions and answers.
Tips. Write the question the way a reader would type it. Keep answers short and self-contained.
Common mistakes. Using an FAQ for marketing claims no reader asked, and stacking several FAQ blocks, which duplicates the structured data.
Table#

The Table block form. The rows are a compact grid with one input per cell.

The table on the page with the header row and header column switched on.
What it is for. Comparisons and figures: real table markup, readable by screen readers and search engines, not a picture of a table.
Add it. Picker group text, entry Table.
| Field (label) | Type | Required | Default | Allowed values and validation | What it does |
|---|---|---|---|---|---|
Header row (header_row) | Toggle | No | Off | On or off | Treats the first row as column headings. In the grid it is shown shaded. |
Header column (header_column) | Toggle | No | Off | On or off | Treats the first column as row headings. In the grid it is shown bold. |
Caption (caption) | Text input | No | Empty | Up to 255 characters | A caption under the table. |
Striped (striped) | Toggle | No | Off | On or off | Shades alternate rows. |
Rows (rows) | Cell grid | Yes | A 2 by 2 grid of empty cells | At least 1 row; every row must have the same number of cells. Error: "Every row needs N cells." | The cells, one text input each. |
The grid. Type in a cell to fill it. Add row and Add column add an empty row or column at the end. The small x on the right of a row removes that row; the x column above a column removes that column. The helper text under the grid reads "One input per cell. Simple inline HTML such as <strong> and <a> in a cell is kept." Other HTML is cleaned out. Long cell text scrolls inside its input; the real width is only seen in the rendered table.
Stored: { "header_row": true, "header_column": true, "caption": "Typical figures for two-person tents.", "striped": false, "rows": [ ["Shape", "Typical weight"], ["Tunnel", "1.8 to 2.4 kg"] ] }. Empty cells are kept, so every row stays as wide as the first.
Tips. Turn on Header row and Header column whenever the table has headings; that is what makes it usable with a screen reader. Keep tables under about six columns so they stay readable on a phone.
Common mistakes. Deleting a cell from one row by hand so the rows are uneven (refused), and using a table for layout.
Html#

The Html block form has one field.

The markup from the form, drawn on the page.
What it is for. A snippet no other block can make. It is the last resort, in the picker group advanced.
Add it. Picker group advanced, entry Html.
| Field (label) | Type | Required | Default | Allowed values and validation | What it does |
|---|---|---|---|---|---|
Html (html) | Monospace text area | Yes | Empty | Up to 200,000 characters | The markup. |
Stored: { "html": "<aside class=\"note\"><strong>Kit check:</strong> pegs, poles, pouch.</aside>" }.
Safety. The markup is passed through the package's HTML sanitiser when you save, so scripts, event handler attributes and other unsafe markup are removed. It is not a way to add a tracking script or an iframe; use the Embed or Video block for third-party content.
Common mistakes. Pasting a script or an iframe and wondering where it went, and using Html for something a Text or Table block would do with better accessibility.
Products#

The Products block form with Source set to rule. Collection key (empty) and Rule key, a select showing "Select an option" until you choose one of your rules, come after the cards.

Four cards in the grid layout.
What it is for. A row or grid of product cards inside an article. The package has no product catalogue of its own, so the cards are either typed by hand or supplied by your application.
Add it. Picker group commerce, entry Products.
| Field (label) | Type | Required | Default | Allowed values and validation | What it does |
|---|---|---|---|---|---|
Layout (layout) | Select | Yes | grid | carousel, grid | A grid of cards, or a sideways carousel. |
Count (count) | Number input | Yes | 4 | A whole number from 1 to 24 | How many cards to show. |
Source (source) | Select | No | Empty, then worked out | cards, collection, rule | Where the cards come from. When empty it is cards if there are cards, otherwise collection if a collection key is set. The editor offers rule only when your application binds a rule provider. |
Cards (cards) | List | No | Empty | Needed when Source is cards | The hand-made cards. |
Title (cards.title) | Text input | Yes | Empty | Up to 255 characters | The card title. |
Link (cards.link) | Link picker | Yes | Empty | Address, Post, Category or Tag | Where the card goes. |
Media (cards.media) | Image upload | No | Empty | An image up to 10 MB | The card picture. |
Alt (cards.alt) | Text input | Yes when the card has a picture, unless Decorative is on | Empty | Up to 255 characters | Alternative text for the picture. |
Decorative (cards.decorative) | Toggle | No | Off | On or off | Marks the card picture as decoration. |
Price text (cards.price_text) | Text input | No | Empty | Up to 64 characters | The price as text, for example £249. |
Product ref (cards.product_ref) | Text input | No | Empty | Up to 191 characters | A reference to a product in your catalogue, such as a SKU, for your ProductProvider to turn into live data. |
Collection key (collection_key) | Text input | No | Empty | Up to 191 characters | The key of a collection in your catalogue. |
Rule key (rule_key) | Select (shown when Source is rule) | Yes when Source is rule | Empty | One of the rules your ProductRuleProvider lists | A named rule that picks products, for example "Best sellers". |
Error when no cards and no collection are given: "Add at least one card or set a collection key."
Stored: { "layout": "grid", "count": 4, "source": "cards", "cards": [ { "title": "Two-person dome tent", "link": { "kind": "url", "url": "https://example.com/shop" }, "media": {...}, "alt": "A dome tent", "decorative": false, "price_text": "£249", "product_ref": "TENT-DOME-2" } ], "collection_key": null, "rule_key": null }.
Where the cards come from. The cards source uses what you typed. The collection source and the rule source name something in your own application, and its ProductProvider (and for rules, ProductRuleProvider) turn those names into cards; see the package's blocks guide for the interfaces. A stored rule block whose rule has gone is kept unchanged, draws nothing on the page, and is counted on the dashboard widget "Broken internal links". The rule source is not drawn by the Inertia front end.
Accessibility. The grid is a list of links. The carousel is announced as a carousel region named "Products" with each card labelled "slide N of M", its scroll area can be reached with the keyboard, and previous and next buttons appear once JavaScript has run. Without JavaScript the carousel is a plain scrollable list of the same links. Give every card picture real alt text or mark it decorative.
Tips. Use grid for up to four cards and carousel for more. Keep price text short and say what it includes elsewhere in the article.
Common mistakes. A card with a picture and no alt text (refused), Count higher than the number of cards (only the cards that exist are drawn), and picking rule without a provider (the option is hidden).







