Skip to main content

1.6 Containers

The <Container> element wraps page-level content. It has 4 variants: full, medium, small, and default (no width prop). Each produces a different content width. The four demos below show how each renders.

Heads-up: only the default variant follows the Rebrand 2026 design system (outer-gutter). The other three (full / medium /small) are legacy percentage-based widths. See Tech Debt #8for the architectural analysis (Model A vs Model B) and the per-page-type audit.
1.6.1 Full

Width 100% at all viewports, no outer gutter. Used for edge-to-edge sections — hero images, coloured backgrounds that need to bleed to the viewport edge.

Used by: Investor Share Price V2 (outer wrapper), Product Sustainability Section, Full Image Card on landing pages.

1.6.2 Medium

Width 57/60/75/92% by breakpoint, max 1200px, no outer gutter. Sparse usage — currently only the sustainability pages.

Used by: Sustainability Report (FileItem, ImageListItemsSection), Sustainability Review (ExpandableFeaturesSection), Report Highlight.

1.6.3 Small

Width 50/65/92% by breakpoint (~960px at 1920px desktop), no outer gutter. The de facto readable content column — used everywhere body text / forms / article content needs a narrower column for readability.

Used by (abbreviated): News / Blog / Media pages, the entire GeneralPage family (text sections, forms, testimonials, contact, expandables, videos, iframes, tables, etc.), Careers job detail, Forms (product, contact), Auth / Liquiform, all Investor pages (Share Price, Calendar, FAQ, Financial Info), Reports, Admin product search, Notifications, Media Kit, Search route, plus several landing-page sub-sections (Calendar Events, Steps, Feature Circles, Expandable Items, Highlight Slider, How We Work, Vertical Feature).

1.6.4 Default (outer gutter)

Width 100% minus outer-gutter (234px / 98px / 20px per breakpoint). No max-width cap — content fills the viewport minus the outer gutter at every size. Follows the Rebrand 2026 design system — outerGutter is the only horizontal-layout token the Figma system exposes. Used by new rebrand components and any landing-page top-level section where the designer hasn't specified a narrower column.

Used by: every <Container> without an explicit width prop — top-level landing page wrappers, rebrand 2026 components migrating to the design system.

1.7 Spacing & Breakpoints

The Rebrand 2026 spacing scale — static (fixed) spaces, fluid (responsive) spaces, and the outer gutter.

Breakpoints

Viewport widths at which the layout adapts.

NameMax-widthDescription
desktop1450pxWide desktop
desktopSm1280pxSmall desktop / laptop
navbarTablet935pxNav collapses to hamburger
tablet768pxTablet
phone500pxMobile
Static scale

Same value at every breakpoint. Use for fixed gaps (icon/label, list spacing, button inner padding).

FigmaCode importValueVisual
Static/3xsstatic3xs0.25rem
Static/2xsstatic2xs0.5rem
Static/xsstaticXs0.75rem
Static/sstaticS1rem
Static/mstaticM1.25rem
Static/lstaticL1.5rem
Static/xlstaticXl2rem
Static/2xlstatic2xl3rem
Static/3xlstatic3xl3.75rem
Static/4xlstatic4xl6rem
Static/5xlstatic5xl7rem
Fluid scale

Responsive per breakpoint. Use for section padding, grid gaps, anything that should feel proportional.

FigmaCode importDesktop (>1280px)Tablet (≤1280px)Mobile (≤768px)
Fluid/mfluidM1.25rem1.125rem1rem
Fluid/lfluidL1.5rem1.375rem1.125rem
Fluid/xlfluidXl2rem1.5rem1.25rem
Fluid/2xlfluid2xl3rem2.5rem2rem
Fluid/3xlfluid3xl3.75rem3.25rem2.5rem
Fluid/4xlfluid4xl6rem4.5rem3.75rem
Fluid/5xlfluid5xl7rem6rem4.5rem
Outer gutter

Horizontal padding on top-level page containers. Automatically applied by the default <Container>; available as the outerGutterPadding mixin for custom wrappers.

TokenViewportValue
outerGutterDesktop (>1280px)14.625rem
outerGutterTabletTablet (≤1280px)6.125rem
outerGutterMobileMobile (≤768px)1.25rem

1.12 Layout

Layout primitives — nav heights, header heights, intro section widths, and other dimensions not covered by the spacing or typography scales.

Navbar heights

TokenValue
minNavHeight4.5rem
minNavHeightDesktop4rem
navHeightDesktopInPx56
navHeightInPx72
navV3FlyoutBackdroprgba(0, 0, 0, 0.5)
navV3FlyoutShadow0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12)
navV3FlyoutTextColor#616163
navV3FlyoutWidth25rem
navV3HeaderHeight4.25rem
navV3UtilityHeight3rem

Page headers

TokenValue
headerHeightcalc(12rem + (14 - 12) * (100vw - 31.32rem)/(68.75 - 31.32))
landingHeaderHeightcalc(14rem + (16 - 14) * (100vw - 31.32rem)/(68.75 - 31.32))

Intro section dimensions

TokenValue
introSectionDesktopBackgroundWidth44rem
introSectionDesktopLightProductBackgroundWidth32rem
introSectionDesktopLightProductWidth28rem
introSectionDesktopSmallBackgroundWidth39rem
introSectionDesktopWidth32rem
mobileIntroSectionHeight22rem

Other

TokenValue
borderRadius0.6rem
borderRadiusM0.75rem
cardMaxWidth25rem
cardMaxWidthMobile20rem
cardMinWidth18.75rem
filterRailMaxWidthRem26
filterRailMinWidthRem16
filterRailWidth18rem
filterRailWidthRem18
focusRingOffset2px
focusRingWidth2px
heroHeight37.5rem
heroHeightLow25rem
heroHeightMobile18.75rem
heroImageFocusCentre50% 50%
heroImageFocusMobile66.667% 50%
pillMinWidth14.0625rem

6. Section patterns

Every section on a landing page follows one of five archetype patterns. Each demo below renders real DOM with the real outerGutter / outerGutterPadding tokens — inspect in devtools to verify. Hatched diagonal stripes mark the viewport-edge gutter zones. Full documentation + SVG diagrams in docs/tasks/task_163.md.

Pattern A — Normal section (white bg, Container default)

Default page section. <Container> applies outerGutterPadding automatically — content sits inside the outer-gutter on every breakpoint.

<Container>
  {/* section content */}
</Container>
Content inside <Container> default — aligned to outerGutter
Pattern B — Full-bleed bg section

Colour or image bg reaches viewport edges, but content inside still honours the outer-gutter — same left edge as Pattern A.

<SectionContainer backgroundColor="#00A551">
  <Container>
    {/* section content */}
  </Container>
</SectionContainer>
Bg bleeds to viewport edges — content still inside outerGutter
Pattern C — Two-column with per-item bg (TwoGridComponent)

Both halves span the viewport with their own bg. Per-item outerGutter padding on the OUTER edge only — items meet at viewport centre with no gap. (This is the component migrated in task_163; same component that renders the Berry section.)

Alignment note: left-item content aligns to outerGutter from the viewport left edge, right-item to outerGutter from the right — same reference line as Pattern A/B content. The two bg colours meet at the exact viewport centre.

<TwoGridComponent
  leftItem={<LeftItem />}
  rightItem={<RightItem />}
  leftItemBackground="#C7E8F6"
  rightItemBackground="#C7E8F6"
/>
Left item content — inset by outerGutter on the left
Right item content — inset by outerGutter on the right
Pattern D — Slider with bleed-right

Card slider aligned to outerGutter on the LEFT only — the track extends past the right viewport edge on purpose so more cards peek in as you scroll (task_156 spec). Drag, trackpad, or mouse-wheel scroll (task_161).

Alignment note: first card aligns to outerGutter from the viewport left edge — same reference line as Pattern A/B content. The track bleeds past the right viewport edge on purpose (task_156 spec) so more cards peek in as you scroll.

<Container width="full">
  <HorizontalSlider ariaLabel="...">
    {cards}
  </HorizontalSlider>
</Container>

Slider header

Card 1
Card 2
Card 3
Card 4
Card 5
Card 6
Card 7
Card 8
Pattern E — Intentional hero full-bleed

No Container, no outer-gutter. Used only when the designer has explicitly specced a full-bleed hero or banner. Document the intent in a code comment so future readers don't "fix" it.

const Hero = styled.section`
  position: relative;
  width: 100%;
  /* image / video absolutely positioned behind ... */
`;

Hero headline

Image / video covers the full viewport. Text overlays on top.