Container Block
Goal: Keep a paragraph readable inside a wide page band.
Time: 3 minutes
You need: A draft page with a Main slot or an existing Section.
A Container centers its children’s content area within the available width and leaves padding at the sides. Use it around a group that needs a consistent width, such as a heading and its introduction.
See the panel settings and the result on desktop and phone. The narration is in English. Turn on captions in the player controls.
Panel settings
| Where | Control | What visitors see |
|---|---|---|
| Block fields | Name | The name labels the Container in the block tree. Visitors see the child blocks. |
| Settings | Width | Default uses the site’s base Container width. Small, Medium, Large, and Extra large set progressively wider limits. Full removes the maximum width so the Container can fill its parent, with its side padding still in place. On narrow screens all options fit within the available width. |
| Settings | Flow | Stack arranges direct children from top to bottom with the standard vertical spacing. Default (none) and None leave the children to their own layout and spacing. |
A readable introduction
- On a saved Section row, select Add child block and choose Container. To add one directly to Main, use Edit blocks → Add block → Layout → Container.
- Name it Studio introduction text. Under Settings, set Width to Medium and Flow to Stack. Select Save new block.
- Add a Header reading “How we work” and a Plain Text block reading “We start with a sketch, build a prototype, and test it with the people who will use it. Then we refine it.” Place both directly inside the Container.
- Open Preview. On desktop, the heading and paragraph share a centered column with space between them. On a phone, that column narrows with the viewport and keeps padding at the sides.
Medium width
How we work
We start with a sketch, build a prototype, and test it with the people who will use it. Then we refine it.
Small width
How we work
We start with a sketch, build a prototype, and test it with the people who will use it. Then we refine it.
Change Width to Small and compare the line breaks on desktop. For a separate Container holding a single Grid, try Full with Flow set to None. The Grid can use the full inner width of the Container and set the spacing between its own items.
For a custom vertical gap inside a width-limited area, set the Container’s Flow to None, add a Stack, and place the content inside the Stack.