Skip to content
MyAppBuilder
StableLayoutVersion 1

Section

Overview

A full-width band of the page with its own padding and an optional title and subtitle. Sections are the easiest way to split a page into readable parts.

A full-width page section with padding and an optional background.

When to use

  • "Today's appointments" section above a calendar on the home page.
  • A hero section with a heading, a short pitch and a button on a public landing page.
  • Separate "Customer details" and "Order history" on a customer page.
  • A footer-like band with contact information.

When not to use

  • You need a bordered, elevated surface: use Card.
  • You only need a small grouping box inside another block: use Container.

Quick start

  1. Drag Section onto the page; it spans the full width.
  2. Type a Section title and, optionally, a Subtitle in the Content tab (both can be bound to data, e.g. {{record.name}}).
  3. Drop the section's content inside; children use the 12-column grid by default.
  4. Style tab: give the section a background colour to make it stand out from the page.

Layout rules

  • Can contain any component.
  • Can be placed in any container (page, section, card, row, column, grid…).

Properties

Section titletext

Shown as a heading at the top of the section. Leave empty for no heading.

Example: Upcoming bookings

Subtitletext

Smaller explanatory line under the title.

Example: Next 7 days, all locations

Arrange childrenselect

How children are arranged: 12-column grid (default), Flex row/column or Stacked.

Options: grid, flex, block

Default: grid

Data binding

The title and subtitle accept bindings: on a dynamic page use {{record.name}} or {{params.id}} to show the current record in the heading.

Properties that can use dynamic data: Section title, Subtitle.

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

Hero section

Example
Section title: Book your next visit
Subtitle: Online, in under a minute
Children: Paragraph, Button "Book now" (On Click: Navigate → Booking)
Style → Background: var(--mab-primary-soft)

Common patterns

  • One Section per topic on long pages; keep headings short.
  • Put a Row with action buttons as the first child to create a section toolbar.

Limitations

  • Nesting: can contain any component. Can be placed in any container (page, section, card, tab, accordion item, step, modal, drawer…).
  • Default padding is 20 px on every side; change it in the Layout tab.
  • The title is always rendered as a level-2 heading; use a Heading component for other levels.

Troubleshooting

The section background does not reach the page edges.

Why: The page root has 24 px padding.

Fix: Select the Page root and set its padding to 0, then add padding to sections instead.

Related

Was this helpful?