Container
Overview
A plain box that groups components. Use it to control how a set of components is arranged — on a 12-column grid, in a row, or stacked — and to give the group one background, border, padding or click action.
A box that groups components on a 12-column grid.
When to use
- Group a heading, a filter and a table so they move together when you reorder the page.
- Create a two-column area: a Container with two Columns inside it.
- A clickable tile that opens a page (set an On Click action on the container).
- A coloured band around a call-to-action.
When not to use
- You want a visible title and spacing out of the box: use Section.
- You want a bordered surface with a title: use Card or Panel.
Quick start
- Drag Container from the Layout palette onto the page.
- In the Content tab choose Arrange children: 12-column grid (default), Flex (row/column) or Stacked.
- Drop components inside; in grid mode set each child's width with the span picker (Layout tab).
- Optional: Style tab for background, border and radius; Actions tab → On Click to make the whole box clickable.
Layout rules
- Can contain any component.
- Can be placed in any container (page, section, card, row, column, grid…).
Properties
How the children inside are arranged. Grid places children on 12 columns and reads each child's width (span); Flex lays them out in a row or a column with gap and alignment; Stacked places them one under another at full width.
Options: grid — 12-column grid, children use their span, flex — row or column, see Direction, Gap and Align in the Layout tab, block — stacked, full width
Default: grid
Example: flex, with Direction = row and Align = center, to put an icon next to a label
Events
- On click
- Runs the actions when anywhere in the container is clicked (the cursor becomes a pointer in the live app). Clicks on buttons inside still work normally.
Actions
Open the Actions tab in the inspector, pick an event and add actions such as Go to page, Create record or Show message. Actions run in order; data-changing actions run on the server with the signed-in user's permissions.
Responsive behavior
Children keep their desktop width on desktop. On tablet a child that is half the width or narrower (span 6 or less) takes half the row, wider children take the full row. On mobile every child takes the full width and stacks. Use the Responsive tab of a child to override its width, order or visibility per device, and the container's own Responsive tab to change direction or alignment per device.
Permissions
Choose which app roles receive this component in the Permissions tab; the server never sends it (or anything inside it) to other roles. This controls what appears on the screen, not what data people can read: set record access under Users → Roles & permissions. The Visibility tab's "Show only when" rule is a display rule only.
Examples
Clickable summary tile — A container that opens the Orders page when clicked.
Arrange children: Stacked Children: Heading "Open orders", KPI "Orders this week" On Click: Navigate → Orders
Common patterns
- Wrap a Row of buttons in a Container with padding to create a toolbar.
- Set a container's Layout → Max width (for example 960) and Margin auto to centre page content.
Limitations
- Nesting: can contain any component. Can be placed in any container (page, section, card, tab, accordion item, step, modal, drawer…).
- A container has no title of its own — add a Heading inside, or use Section/Card.
Troubleshooting
Why: In grid mode each child defaults to 12 columns (full width).
Fix: Select each child and reduce its width in the Layout tab (e.g. 6 and 6), or switch the container to Flex row.
Why: Events never run while editing.
Fix: Open Preview to test actions.