DOCUMENTATION

Section

Last updated May 2026
Layout Block
All plans

The Section block wraps a group of content blocks in a full-width background band. It bleeds edge-to-edge regardless of the document's content width, while the blocks inside remain constrained to a configurable inner content width. Use it to create visual separation between page zones — hero areas, feature bands, CTA strips, and footers.

What it is

A Section is a layout container, not a content block. It has no editable text of its own. Instead, it holds other blocks — paragraphs, headings, images, carousels, and so on — and controls the visual environment those blocks live in: the background color or gradient, vertical spacing, grid lines, and inner content width.

On the published page, the Section stretches full-viewport-width using negative margin offsets (margin-left: calc(-50vw + 50%)), so it always bleeds to the browser edge regardless of how narrow the document content column is.

Section — three background bands on a page
Page content above
Section — dark band
Page content below

Adding a Section block

/ → Section
Type / on any empty paragraph, type section, press Enter.
Block palette
Click + on any block → scroll to Layout → Section Block.

When added, the Section appears as a dashed-border control bar in the editor. Blocks placed inside the section (using the Add block to section button that appears at the bottom of the section) become children of that section and inherit its background.

Deleting a Section extracts all its child blocks back to the top level of the document before removing the section itself — no content is lost.

The control bar

In the editor, the Section renders as a thin control bar with a Layout icon, the label “Section”, an expand/collapse toggle, and a delete button. The full background preview only shows once the section has child blocks inside it.

Click header
Toggles the settings panel open or closed. Settings are collapsed by default to keep the editor clean.
▼ / ▲ arrow
The arrow in the header indicates whether settings are expanded (▲) or collapsed (▼).
× button
Deletes the section and extracts all child blocks to the top level. Children are not deleted.
Add block to section
A button at the bottom of the section's content area (visible in the editor). Adds a new paragraph block inside the section at the end of its children.

Background

The section background is controlled by Background mode — three options that determine how the background color fills the band:

Solid

A flat, single color. Choose from 6 preset swatches (transparent, white, light gray, dark gray, near-black, black) or use the custom color picker for any color. Transparent renders no background — the page background shows through.

Solid — 6 presets
transparent
#ffffff
#f5f5f5
#111111
#0a0a0a
#000000

Gradient

A two-color linear gradient. Set the From and To colors using the color pickers, then choose an angle: 0°, 45°, 90°, 135°, or 180°.

Gradient — 5 angle options
0°
45°
90°
135°
180°

Fade

A gradient from a color to transparent — fading into the page background. Choose the direction: Top (transparent at top, solid at bottom), Bottom (solid at top, transparent at bottom), or Both (solid in the middle, transparent at both edges).

Fade — three direction modes
Top — fades in from page
Bottom — fades out to page
Both — solid in the middle
Fade mode works best when the section's color matches the mood of your page. For a dark page, fade a deep color (navy, black) from transparent — it creates the impression of a zone emerging from the page without a hard edge.

Image

Uploads or links an image as the section background. The image is rendered as a CSS background-image and fills the section according to the size setting. An optional color overlay sits between the image and the content.

Source
Upload a file from your image library or paste a direct URL. Both methods set the same metadata field.
Size
Three presets — Cover (fills the section, may crop), Contain (fits entirely, may letterbox), Auto (natural pixel size) — plus a custom percentage input (10–300%).
Position
A drag-to-position control lets you click and drag directly on a thumbnail of the image to set the focal point. X and Y sliders provide fine control. Quick-pick pills: left/center/right and top/center/bottom.
Zoom
A slider from 100%–300% expressed relative to "exactly cover". At 100% the image covers the section with no excess. Increasing zoom pans the image larger so the position controls have more room to move. Axes that have no overflow are shown as locked — increase zoom to unlock them.
Flip
Mirror the image horizontally (H), vertically (V), or both axes simultaneously. Toggles are independent — H and V can be active at the same time.
Overlay
A solid color layer rendered at configurable opacity (0–100%) on top of the image and below the content. Use a dark overlay to make light-colored text readable over busy images.
For hero-style sections with text content, set Size to Cover, dial the overlay color to black at 40–60% opacity, then set the text color in your content blocks to white. This keeps the image visible without sacrificing legibility.
The position drag control only moves the image along axes where it overflows the section container. If an axis is locked (shown in gray), increase Zoom until the rendered image is larger than the section on that axis — then the slider unlocks automatically.

Section height

By default the section height is Auto — it grows to fit its child blocks. When using an image background you often want a fixed height independent of content. Four viewport-relative presets are available plus a custom pixel value:

OptionValueUse when
AutoautoDefault. Section height is driven by its child blocks.
50vh50vhHalf the viewport height — good for feature banners.
75vh75vhThree-quarters viewport — generous hero-style sections.
100vh100vhFull viewport height — above-the-fold landing sections.
CustomNpxAny pixel value from 0–2000px entered via number input.

Grid lines

Grid lines draw thin structural lines over the section background. They use the section's theme (light sections get dark lines, dark sections get light lines) and are purely decorative — they don't affect layout.

Grid line modes
None — no lines
Middle — top + bottom border
Outer — left + right border
All — all four borders
Grid — full column + row grid
None
No decorative lines. Default.
Middle
Draws a 1px border on the top and bottom edges of the section band. The border color is rgba(255,255,255,0.20) on dark backgrounds and rgba(0,0,0,0.12) on light ones.
Outer
Draws a 1px border on the left and right edges — boxing the inner content area.
All
Combines Middle and Outer — all four borders.
Grid
Renders a CSS repeating grid of columns and rows. Column count is configurable (4, 6, 8, or 12). Row height is fixed at 80px.

Grid columns

When Grid lines is set to Grid, a column picker appears with four options: 4, 6, 8, or 12 columns. The columns divide the inner content width evenly using calc(100% / N). Default is 8 columns.

Grid — 4 / 8 / 12 columns
4 columns
8 columns
12 columns

Spacing

Padding

Vertical padding inside the section — the space between the section's top/bottom borders and the first/last child block. Four levels, each a fluid clamp() that scales with viewport width rather than a fixed pixel value — the number shown is the value at large viewport widths:

OptionValueUse when
None0pxSection acts as a flush background — no breathing room. Good for full-bleed image sections.
Tightclamp(16px, 4vw, 24px)Compact zones, inline feature strips, callout bars.
Normalclamp(24px, 6vw, 48px)Standard section padding. The default.
Looseclamp(40px, 9vw, 80px)Hero-style sections, large CTA areas, generous whitespace layouts.

Margin

Vertical margin outside the section — the gap between the section band and the blocks above and below it on the page. Four levels, also fluid clamp() values rather than fixed pixels:

OptionValueUse when
None0pxSection sits flush against adjacent page content. Default.
Smallclamp(12px, 3vw, 16px)Slight separation — useful when stacking multiple sections.
Mediumclamp(20px, 5vw, 32px)Standard visual separation from surrounding content.
Largeclamp(32px, 8vw, 64px)Strong separation — treats the section as a standalone island on the page.

Content width

While the section background always bleeds edge-to-edge, the blocks inside are constrained by independent left and right insets, stored as a percentage of the section's width (not pixels — this keeps the proportions correct at any screen size). Three presets set both sides symmetrically; editing either inset input directly switches to a custom (unlabeled) state automatically.

Full
0% inset on both sides — content fills the full section width edge-to-edge. This is the default.
Wide
8% inset on each side.
Narrow
20% inset on each side. Tight reading width, good for text-heavy sections.
Choosing a preset sets both sectionInsetLeft and sectionInsetRightto the same percentage. Editing either input individually (0–50% range) drops out of the preset selection — there's no separate “Custom” button, it just stops matching a preset. A Reset button appears when either inset is non-zero and resets both to 0 (Full).
Content width — same section band, different inner widths
Narrow (20% inset)
Wide (8% inset)
Full (0% inset)

Sections inside column layouts

Sections can be placed inside a two-column layout (a row block). When a section occupies one column in a row, it fills the full height of that column rather than the full page width. This lets you create asymmetric layouts — a dark section on the left, a light section on the right, for example.

Section in a column — full-height column background
Dark section
Light section

In this case, the section does not bleed full-width — it fills its column only. Grid lines and padding still apply within that column area.

Publishing behaviour

On the published page, the section is rendered by the BlockRenderer server component as a <div> with the computed background, padding, margin, and grid line styles applied inline. The inner content div is centered with margin: auto and constrained by the content width setting.

  • The background (solid, gradient, or fade) is applied as a CSS background property on the outer full-width div.
  • Grid lines are applied using CSS backgroundImage with repeating-linear-gradient, layered over the main background.
  • The inner content area renders child blocks inside a position: relative; z-index: 1 wrapper so they sit above the grid lines.
  • Deleting a section server-side (via the × button) re-inserts all child blocks at the section's original position in the document.
Sections with Fade background assume the page background color is the same above and below the section. If your page uses different background colors in adjacent areas, the fade may not blend cleanly — use a solid or gradient instead.

Settings reference

SettingOptionsDefault
Background modeSolid, Gradient, FadeSolid
Color (solid)6 presets + custom color pickertransparent
From (gradient)Color picker#000000
To (gradient)Color pickertransparent
Fade directionTop, Bottom, BothBottom
Angle0°, 45°, 90°, 135°, 180°180°
Grid linesNone, Middle, Outer, All, GridNone
Grid columns4, 6, 8, 128
PaddingNone (0px), Tight (clamp 16–24px), Normal (clamp 24–48px), Loose (clamp 40–80px)Normal
MarginNone (0px), Small (clamp 12–16px), Medium (clamp 20–32px), Large (clamp 32–64px)None
Content widthFull (0%), Wide (8%), Narrow (20%)Full
Inset (Left)0–50% (number input)0%
Inset (Right)0–50% (number input)0%
Bg ImageUpload or URL
Image SizeCover, Contain, Auto, custom %Cover
Image Zoom100%–300%100%
Image PositionDrag control, X/Y sliders, quick-pick pillscenter center
Image FlipNone, H, V, BothNone
Overlay colorColor picker#000000
Overlay opacity0–100%0%
Section heightAuto, 50vh, 75vh, 100vh, custom pxAuto