Content and media

Choose blocks for the copy, images, files, and actions editors need to maintain.

Text and page titles

Marketing sections and actions

  • Use Hero for a page introduction and CTA for a focused call to action.
  • Use Columns for repeated items and Button Link for an editable action.

Images, audio, video and files

Browse all editorial and marketing blocks, including compatibility blocks. Back to Inventory.

Editorial And Marketing Blocks

header — Header

Contract area Source-backed behavior
Editable content translations.title.
Settings and variants settings.variant: h1–h6; alignment: left, center, right; anchor: safe same-page ID; include_in_toc: boolean, default true.
Children/media None.
HTML Root-owning <h1> through <h6> with optional alignment class and a stable id. New headings save an automatic anchor when none is supplied; historical missing anchors fall back to block identity. Existing valid anchors and legacy URL targets remain supported. Within a page, duplicate explicit anchors retain the lowest-ID heading target and other headings receive unique automatic targets.
Example appearance Semantic section heading that can be indexed by TOC.
Avoid Page intro with metadata; use Content Header.

plain_text — Plain Text

Contract area Source-backed behavior
Editable content translations.content as escaped plain text.
Settings and variants alignment: left, center, right.
Children/media None.
HTML Generic wrapper plus <p class="[wb-text-*]">…</p>.
Example appearance Short paragraph, label, or supporting sentence.
Avoid Lists, links, headings, or formatted body copy.

rich-text — Rich Text

Contract area Source-backed behavior
Editable content translations.content through the safe Rich Text editor and sanitizer; editor history supports undo/redo, with a word counter and optional focus mode.
Settings and variants None. Unsupported formatting, attributes, and classes are stripped; pasted headings and table cells retain their text as paragraphs, and executable/media markup is removed.
Children/media None.
HTML Generic wrapper plus <div class="wb-rich-text">[sanitized editorial markup]</div>.
Example appearance Several paragraphs with safe inline emphasis, links, and simple lists.
Avoid Layout markup, <style>, scripts, iframes, forms, buttons, tables, or a complete page.

content_header — Content Header

Contract area Source-backed behavior
Editable content translations.title, translations.subtitle as intro, translations.eyebrow as optional badge label, translations.meta as metadata items.
Settings and variants alignment: left, center, right; icon_slug; icon_tone; icon_size: default, sm, lg, xl; badge_tone: neutral, info, success, warning, danger; optional background image and overlay settings.
Children/media No children; direct image media_id is background media.
HTML Root-owning <header class="wb-content-header …"> with optional icon/badge cluster, fixed <h1 class="wb-content-title">, subtitle, and metadata row.
Example appearance Page title with optional product badge/icon, concise lead text, and two metadata labels.
Avoid Nested sections where H1 is semantically wrong.

hero — Hero

Contract area Source-backed behavior
Editable content translations.title, translations.subtitle as eyebrow, translations.content. Action buttons are separate child button_link blocks with their own admin form.
Settings and variants variant: default, muted, soft, accent; layout: left, centered, split, or full-bleed; title_tag: h1, h2, h3; optional background image and overlay settings.
Children/media Actions are child button_link blocks or a cookie-settings system action, with no fixed count. In left/centered/full-bleed layouts media_id is background media; in split it renders as a foreground image beside the copy.
HTML Legacy layouts own <section class="wb-card wb-promo [wb-card-*]">; split adds .wb-promo--split and .wb-promo-media. Full-bleed deliberately drops the card class and uses .wb-public-hero--full-bleed with an aligned .wb-public-hero__copy.
Example appearance A contained promo, foreground image/copy split, or unframed viewport-wide photographic hero, plus actions.
Hard limitation No second foreground image, product-price/trust-strip region, or arbitrary nested content.
Actions Add button_link children; they render inside .wb-promo-actions. primary_cta / secondary_cta {label, url} objects remain accepted as a shorthand that writes the first two of those children. Do not reach for a sibling Cluster with Button Link — that renders outside the promo root. allowed_child_handles also lists legacy button, which has no published catalog row and stays in unreachable_child_handles.

cta — CTA

Contract area Source-backed behavior
Editable content translations.title, translations.subtitle as eyebrow, translations.content. Action buttons are separate child button_link blocks with their own admin form.
Settings and variants variant: default, muted, soft, accent; optional background image and overlay settings. CTA title renders as H2.
Children/media Actions are child button_link blocks, with no fixed count; direct image media_id is background media.
HTML Root-owning <section class="wb-card wb-promo [wb-card-*]"> with .wb-promo-copy and optional action row.
Example appearance Short conversion band near the end of a page.
Actions Identical to Hero: add button_link or cookie-settings children, or use the primary_cta / secondary_cta shorthand.
Limitation settings.layout=centered is renderer-compatible but is not exposed by the normal CTA admin form and is not a recommended AI authoring field.

columns — Columns

Contract area Source-backed behavior
Editable content translations.title, translations.subtitle, translations.content; child item title, badge, content, URL, icon, and tones.
Settings and variants settings.variant: cards, plain, stats. New Internal Content API plans default an omitted variant to plain; cards must be deliberate. Existing stored blocks with an empty variant retain the legacy cards renderer fallback.
Children/media Only column_item. Child count selects stack, 2-column, 3-column, or 4-column layout.
HTML Root-owning <section class="wb-stack wb-gap-4"> with optional intro and a responsive item grid.
Example appearance Three benefit cards, four compact features, or a simple metric row.
Manageability caveat The stats renderer can use child subtitle as the value, but normal Column Item admin forms do not expose that subtitle. AI-created stats that depend on it are not fully manageable and should be avoided until the form contract is aligned.

column_item — Column Item

Contract area Source-backed behavior
Editable content translations.title, translations.content, optional translations.eyebrow badge; shared settings.url, icon_slug, icon_tone, icon_size, badge_tone.
Settings and variants Presentation is controlled by the parent Columns variant: cards, plain, or stats.
Children/media None; intended only under Columns.
HTML Cards: .wb-card > .wb-card-body; plain: .wb-icon-card; stats: .wb-stat. Optional safe link wraps cards/plain output.
Example appearance Icon-and-copy feature card with an optional badge.
Avoid Standalone use or relying on renderer-only subtitle for a stat value.

Use plain for qualities, principles, benefits, process summaries, and other copy that does not represent independent objects. Use cards only when every item has a meaningful boundary of its own. The number of items — especially the familiar set of three — is never by itself a reason to choose cards.

feature-grid — Feature Grid

Contract area Source-backed behavior
Editable content translations.title, subtitle, content; child feature fields.
Settings and variants No independent presentation variant. Renderer forces the Columns cards presentation and prefers three columns.
Children/media feature-item and compatibility column_item.
HTML Delegates to Columns and renders a card grid. It is not listed as root-owning by Block::ownsPublicRoot, so top-level output may receive a generic wrapper around the delegated Section root.
Example appearance Legacy three-up feature cards.
Recommendation For new pages prefer Columns/Column Item or Grid/Card; use Feature Grid only when its dedicated editor is valuable and the delegated contract is accepted.

feature-item — Feature Item

Contract area Source-backed behavior
Editable content translations.title, translations.content, optional badge label; shared URL, icon slug/tone, badge tone.
Settings and variants Always delegates to Column Item cards presentation.
Children/media None; intended under Feature Grid.
HTML .wb-card > .wb-card-body > .wb-icon-card with optional icon and badge.
Example appearance One icon-led feature card.
Recommendation Prefer canonical Card regions or Column Item for new general-purpose compositions.

stat-card — Stat Card

Contract area Source-backed behavior
Editable content translations.subtitle label, translations.title value, translations.content detail; shared URL.
Settings and variants None.
Children/media None.
HTML Generic wrapper plus .wb-stat, .wb-stat-label, .wb-stat-value, .wb-stat-meta, and optional Learn more link.
Example appearance “24h” value with “Dispatch” label and supporting detail.
Avoid Decorative marketing card where arbitrary nested content is needed.

image — Image

Contract area Source-backed behavior
Editable content Locale-owned image alt_text and caption; shared optional URL. Content plans and page/shared-slot block creation accept these native names, with title (caption) and subtitle (alt text) aliases; native names take precedence. Admin saves and existing-block PATCH preserve omitted image translation fields; an explicitly blank or null field clears only that locale's stored value. Clearing a caption removes the editorial figcaption; the existing Media/dynamic-source alt-text fallback still applies. Clearing editorial text does not remove bindings or their explicit fallback configuration.
Settings and variants viewer_enabled opts an unlinked image into the CMS Gallery Viewer; viewer_group joins independently placed Image blocks into one browsable viewer set. Focal point and generated variants belong to the Media record.
Children/media Direct image media_id; no children.
HTML Root-owning <figure class="wb-stack wb-gap-2"> with responsive <img> output, optional linked or wb-gallery-trigger image, and <figcaption>. Enabled groups register one existing gallery-viewer modal under the canonical overlay root.
Example appearance Product or editorial image with an editable caption.
Avoid Background treatment or decorative layout HTML. Use Gallery when the collection itself should render as one grid; use viewer groups when independently composed images should share one viewer without changing layout.
Contract area Source-backed behavior
Editable content Ordered Gallery items with locale-owned alt_text, caption, overlay_title, overlay_text; optional shared viewer title. Gallery intro copy is intentionally separate. Item translations resolve in the requested visitor locale with default-locale fallback, independently of missing Gallery heading translations. Staged creation and promotion preserve every item translation, media relationship, and position.
Settings and variants variant: grid, masonry, collage; columns: 2–5; gap: none, sm, md, lg; aspect_ratio: auto, square, 4:3, 16:9, portrait; captions_mode: hidden, below, overlay, on-hover; overlay_mode: none, gradient, solid; lightbox_enabled: boolean.
Children/media gallery_items or gallery_media_ids referencing image Media records; no block children.
HTML Root-owning .wb-gallery.wb-gallery--{variant} with gallery items, responsive media, captions, and optional registry-owned viewer under the canonical overlay root.
Example appearance Equal product grid, natural-height editorial masonry, or featured-first collage.
Render reuse Reuses loaded ordered Media relationships and request-scoped locale identities. Image count does not add locale lookups; missing visitor-language copy keeps the existing default-locale/first-translation fallback. Gallery output is not stored across requests.
Avoid Adding heading/description into Gallery; compose Content Header or Rich Text before it.

download — Download

Contract area Source-backed behavior
Editable content translations.title button label and translations.subtitle helper copy.
Settings and variants settings.variant: primary, secondary, ghost.
Children/media Direct document/other media_id; no children.
HTML Root-owning .wb-stack.wb-gap-2 with <a class="wb-btn …" download> and optional helper paragraph.
Example appearance “Download guide” button with file description.
Avoid External-only file cards; use File.

file — File

Contract area Source-backed behavior
Editable content translations.title, translations.content; shared URL fallback.
Settings and variants None.
Children/media Direct document/other media_id; media wins over safe external URL.
HTML Root-owning muted Card with title, description, download/open button, and file metadata.
Example appearance Downloadable PDF resource card.
Avoid Simple button-only downloads.

video — Video

Contract area Source-backed behavior
Editable content translations.title, translations.content; shared safe URL fallback.
Settings and variants Source determines native video, YouTube/Vimeo iframe, or open-video button.
Children/media Direct video media_id; no children.
HTML Root-owning muted Card containing <video>, an allowlisted provider <iframe>, or a safe link.
Example appearance Uploaded demo video with editable title and description.
Avoid Arbitrary iframe HTML.

audio — Audio

Contract area Source-backed behavior
Editable content translations.title, translations.content; shared safe HTTP URL fallback.
Settings and variants None.
Children/media Admin, Content Plan and incremental block creation/update accept direct audio media_id (or asset_id) with Media kind other and a valid audio/* MIME type; no children.
HTML Root-owning muted Card with copy and native <audio controls>.
Example appearance Audio lesson or sample player.
API validation Shared media kind/MIME validation rejects incompatible or missing records before writes. Clearing the assignment remains supported; safe URL fallback is unchanged.

code — Code

Contract area Source-backed behavior
Editable content translations.title, translations.subtitle filename/language label, translations.content code body.
Settings and variants settings.language becomes sanitized data-language.
Children/media None.
HTML Generic wrapper plus <pre><code data-language="…">…</code></pre>.
Example appearance Copyable-looking command or source snippet.
Avoid Prose, layout, or executable scripts.
Contract area Source-backed behavior
Kind System block (is_system=true), with no editorial translations, children, media or authored URL.
Settings and variants Shared variant: text/default, primary or secondary. Content plans, single-block creation and PATCH accept variant directly on the block or settings.variant. A page-owned block in a plan keeps the settings.variant value when both forms are present. Appearance uses existing typed block fields.
Label and destination The label comes from consent.settings in the render language. The destination is the current page fragment #cookie-settings; the localized label comes from the existing consent settings.
Placement Page-owned or Shared Slot content, ordinary layout containers, Hero/CTA action areas and Navbar. Existing parent eligibility rules still apply.
HTML Owns one link or button-styled anchor with data-cms-consent-open, aria-controls and aria-haspopup. Reuses the single layout-owned preference center, including after acceptance or rejection. Disabled site consent hides the public link; the editor explains its absence. Zero optional services still allow the necessary-features explanation.
Compatibility entry GET /privacy-consent/preferences and its localized/mounted counterparts redirect to the same site/language home with #cookie-settings, without recording a choice or rendering a standalone screen. The native POST remains a technical form endpoint and redirects home after saving. Ordinary public layouts contain a no-JavaScript preferences form, outside the hidden overlay. POST retains the JSON sync site/service revision and withdrawal rules. No caller-selected site or return URL is used; disabled sites and unavailable languages fail closed. Redirect responses are private/no-store.
API Normal content.read/content.apply and Shared Slot capabilities apply; placement does not require consent.write. Content plans, native editing, staging and complete revision snapshots retain the normal block lifecycle.
Contract area Source-backed behavior
Editable content translations.title as the button label; shared settings.url. At public render time an internal path follows the render locale (rewritten to the target page's translated path when it resolves); the stored value stays shared and raw.
Settings and variants settings.target: _self or _blank; shared variant: primary/default or secondary. URL accepts a safe full HTTP(S) URL, site path, anchor, mailto:, or tel: target.
Children/media None. This is a standalone editorial action and is distinct from the non-catalog managed button child used by Hero and CTA.
HTML Generic wrapper plus <a class="wb-btn wb-btn-primary"> or its secondary-class equivalent; _blank adds rel="noopener noreferrer". Empty or unsafe URL emits no anchor.
Example appearance One managed primary or secondary action, or several actions arranged by a Cluster.
Avoid Hardcoded anchors in HTML or substituting it for Hero/CTA's internal managed-action child when the action must render inside that promo root.

external-content — External Content

Contract area Source-backed behavior
Editable content translations.title, translations.content; shared canonical url for a supported provider URL or a copied Google Maps iframe.
Settings and variants No additional settings. Recognizes HTTPS YouTube/watch/shorts/embed and youtu.be URLs, Vimeo video URLs, and exact Google Maps embed URLs. Copied iframe input contributes only its validated source; other attributes/markup are never rendered.
Children/media None. No remote thumbnail request is made before permission.
HTML Owns a card root with a local consent placeholder and an inert template containing an iframe with data-src; no live iframe src before permission.
Consent Uses the site's ready-made YouTube, Vimeo or Google Maps service. A one-time action loads only the selected content item. A lasting permission applies only to that service and site. Disabled consent or disabled providers leave managed embeds blocked.
API API and human writable. Draft placement does not activate a provider in live content; live published video/external-content blocks and referenced active Shared Slots determine provider use.

table — Table

Contract area Source-backed behavior
Editable content translations.title; translations.content as newline-separated, pipe-delimited rows.
Settings and variants settings.variant: header-row/default or plain. Legacy settings.rows remains readable but is not recommended for new API content.
Children/media None.
HTML Generic wrapper containing .wb-table-wrap > table.wb-table, optional <thead>, and <tbody>.
Example appearance Small comparison or specification table.
Avoid Page layout grids or interactive datasets.

quote — Quote

Contract area Source-backed behavior
Editable content translations.content quote, translations.title and translations.subtitle attribution parts.
Settings and variants settings.variant: default or testimonial.
Children/media None.
HTML Generic wrapper with <blockquote class="wb-stack wb-gap-2">; testimonial adds a muted Card shell.
Example appearance Editorial quotation or customer testimonial.
Avoid General-purpose callouts.