CONTAINER COMPONENT EXAMPLES
Example 1: CONTAINER COMPONENT - Version 1.0
-
Appearance
-
Container Width - Default
-
Inner Content Width - Default
-
Content Horizontal Alignment - Left
-
Spacing - Default
-
Section Gap - None
-
-
Background
- Background Color - Default
Example 2: CONTAINER COMPONENT - Version 1.0
-
Appearance
-
Container Width - Default
-
Inner Content Width - Default
-
Content Horizontal Alignment - Center
-
Spacing - Default
-
Section Gap - None
-
-
Background
- Background Color - Inverse
Example 3: CONTAINER COMPONENT - Version 1.0
-
Appearance
-
Container Width - Default
-
Inner Content Width - Small
-
Content Horizontal Alignment - Right
-
Spacing - Default
-
Section Gap - None
-
-
Background
- Background Color - Primary
Example 4: CONTAINER COMPONENT - Version 1.0
-
Appearance
-
Container Width - Default
-
Inner Content Width - Small
-
Content Horizontal Alignment - Right
-
Spacing - Default
-
Section Gap - None
-
-
Background
- Background Color - Secondary
Example 5: CONTAINER COMPONENT - Version 1.0
-
Appearance
-
Container Width - Default
-
Inner Content Width - Small
-
Content Horizontal Alignment - Right
-
Spacing - Default
-
Section Gap - None
-
-
Background
- Background Color - Tertiary
When to use
- Every page — all blocks must be wrapped in a container. It is the mandatory parent element.
- Background changes — use a new container when you need a different background color for a page section.
- Spacing control — adjust vertical spacing between sections by configuring container spacing.
- Content width — narrow content for readability (container-content-small) or full-width for impact.
Key decisions
- Width: container-fullscreen-size for hero teasers, container-default-size for content, container-narrow-size for focused reading.
- Content width: container-content-small for text-heavy sections, container-content-default for mixed content.
- Background: Alternate between u-bg-default and u-bg-brand-secondary for visual rhythm.
- Spacing: u-sp-none for hero sections, u-sp-default for content sections.
All authoring options
Layout
style_background: u-bg-default | u-bg-brand-primary | u-bg-brand-secondary | u-bg-brand-tertiary | u-bg-dark | u-bg-light
style_width: container-default-size | container-fullscreen-size | container-narrow-size
style_content-width: container-content-default | container-content-small | container-content-large | container-content-full
style_horizontal-alignment: container-align-left | container-align-center | container-align-right
style_spacing: u-sp-none | u-sp-small | u-sp-default | u-sp-large
style_section-gap: u-section-gap-none | u-section-gap-small | u-section-gap-default | u-section-gap-large
Analytics
trackInview: boolean
trackInviewMeta: text