HomeFrontend Development › Responsive grid & layout container

Responsive grid & layout container

Purpose: Understand AEM's layout container, breakpoint behaviour and author-controlled layout.

Who this page is for

AudienceWhy it matters to you
Frontend engineersLayout mechanics

What it is

The layout container (wcm/foundation/components/responsivegrid) is AEM's authorable grid: authors place components in it and can resize/reflow them per breakpoint in Layout mode — no code per arrangement.

.aem-Grid (12 columns, breakpoints from template policy)
  └── .aem-GridColumn .aem-GridColumn--default--8 .aem-GridColumn--phone--12
        (plan card: 8 cols desktop, full width phone — authored, not coded)

Where the pieces live

PieceLocation
Breakpoint definitionsTemplate structure (cq:responsive config)
Grid CSS generationgrid.less from product, compiled into your base clientlib
Author resize datacq:responsive nodes under each component instance
Allowed components per containerTemplate policy

Working with it

Quick navigation