Examples
Examples
The sections below are live Grid renderings on this page, each configured differently to demonstrate common use cases. Scroll down to see each example in context.
Titled Grid
A standard Grid with a visible heading. The Title parameter is set and HideTitleHeading is unchecked, so the heading renders inside the section and automatically becomes a Jump Links target. This is the most common configuration for content sections on a page.
Container-Fluid Grid
A Grid with ContainerFluid enabled. Instead of a fixed-width container, the content stretches edge-to-edge using container-fluid. Useful for hero banners, full-bleed backgrounds, or wide media sections.
Coloured Background Grid
A Grid with Color and Shade set to apply a background colour. This example also uses GridPaddingTop and GridPaddingBottom for vertical spacing. Coloured sections help visually separate content areas and draw attention to key information.
Titled Grid Example
Example Titled Content
This paragraph sits inside a Titled Grid. The Grid’s Title parameter is set to “Titled Grid Example” and the heading is visible. Notice the section heading above — it was automatically generated from the Grid’s Title parameter and is also picked up by Jump Links.
Example Fluid Content
This paragraph sits inside a Container-Fluid Grid. The Grid’s ContainerFluid parameter is enabled, so the content spans the full viewport width. Compare the edges of this text to the titled grid above — this one extends further because it uses container-fluid instead of the default fixed-width container.
Example Coloured Content
This paragraph sits inside a Coloured Background Grid. The Grid’s Color parameter applies a background colour to the entire section. Combined with GridPaddingTop and GridPaddingBottom, the coloured band provides visual separation and emphasis. This is commonly used for call-to-action areas or important notices.
Usage Notes
Notes
- The Grid renders a
<section>element. Each Grid on the page becomes a semantic section in the document outline. - When Title is set and HideTitleHeading is unchecked, the section heading is rendered and the section is announced to Jump Links via a
data-jumplinkattribute. Set HideFromJumpLinks to exclude a titled section from jump-link navigation. - When Title is set but HideTitleHeading is checked, the title is applied as an
aria-labelon the section for accessibility without a visible heading. - ContainerFluid switches the inner wrapper from
container(max-width constrained) tocontainer-fluid(full viewport width). - BackgroundImage sets a CSS
background-imageon the section withbackground-size: cover. Use ImagePosition to control thebackground-positionvalue (defaults tocenter center). - BackgroundVideoLink renders a muted, autoplaying, looping
<video>element positioned behind the section content. - ShowBreadcrumb injects a breadcrumb trail at the top of the Grid section. Only one Grid per page should enable this.
- The OverlaySmall, OverlayMedium, and OverlayLarge parameters add responsive overlay classes useful for darkening or lightening background media at different breakpoints.
- Grids can be nested by placing a SubGrid inside a Grid’s placeholder. The SubGrid adds column sizing and its own heading level while sharing the same
bs-sectionplaceholder pattern.
Control Properties
Grid
The Grid is the primary layout component used across all pages. It renders a Bootstrap 5 <section> wrapping a container (or container-fluid) with a row and column structure. Child components are placed inside the Grid’s bs-section placeholder.
The Grid supports titled sections with configurable heading levels that integrate with Jump Links and the Table of Contents, background images and videos with overlay options, section-level colour theming and padding, and optional breadcrumb rendering. Every titled Grid section on a page automatically becomes a jump-link target unless explicitly hidden.
Control Properties
| Parameter | Type | Description |
|---|---|---|
| Title | Single-Line Text | Sets the section heading text. When provided, it is also used for Jump Links and TOC entries. |
| HeadingSize | Droplink | CSS class controlling the rendered heading size (e.g. h2, h3). |
| HideTitleHeading | Checkbox | When checked, the title is applied as an aria-label instead of rendering a visible heading. |
| TextAlignment | Droplink | Horizontal alignment class for the heading (e.g. text-start, text-center). |
| HideFromTOC | Checkbox | Excludes the section from the Table of Contents. |
| HideFromJumpLinks | Checkbox | Excludes the section from Jump Links navigation. |
| TOCTitle | Single-Line Text | Override text used in the Table of Contents instead of the Title value. |
| ShowBreadcrumb | Checkbox | Renders a breadcrumb trail at the top of the section. |
| ContainerFluid | Checkbox | Switches the inner wrapper from container to container-fluid. |
| Color | Droplink | Background colour applied to the section. |
| Shade | Droplink | Shade variant of the selected colour. |
| UseLightText | Checkbox | Applies light text colour for use on dark backgrounds. |
| GridPaddingTop | Droplink | Top padding class applied to the section. |
| GridPaddingBottom | Droplink | Bottom padding class applied to the section. |
| GridMarginTop | Droplink | Top margin class applied to the section. |
| GridMarginBottom | Droplink | Bottom margin class applied to the section. |
| GridGutterX | Droplink | Horizontal gutter size between columns. |
| GridGutterY | Droplink | Vertical gutter size between rows. |
| GridHorizontalAlignment | Droplink | Horizontal alignment class for the row (e.g. justify-content-center). |
| GridVerticalAlignment | Droplink | Vertical alignment class for the row (e.g. align-items-center). |
| GridTextAlignment | Droplink | Text alignment class applied to the row. |
| RowColumnsSmall | Droplink | Number of columns per row at the small breakpoint. |
| RowColumnsMedium | Droplink | Number of columns per row at the medium breakpoint. |
| RowColumnsLarge | Droplink | Number of columns per row at the large breakpoint. |
| GridBorderTop | Checkbox | Adds a top border to the section. |
| GridBorderBottom | Checkbox | Adds a bottom border to the section. |
| GridBorderLeft | Checkbox | Adds a left border to the section. |
| GridBorderRight | Checkbox | Adds a right border to the section. |
| BackgroundImage | Image | Background image applied via inline CSS background-image. |
| ImagePosition | Droplink | CSS background-position value (defaults to center center). |
| OverlaySmall | Droplink | Overlay class applied at the small breakpoint. |
| OverlayMedium | Droplink | Overlay class applied at the medium breakpoint. |
| OverlayLarge | Droplink | Overlay class applied at the large breakpoint. |
| BackgroundVideoLink | General Link | URL for a background video (MP4) rendered as a muted, autoplaying, looping video element. |
| AddClass | Single-Line Text | Additional CSS class(es) appended to the row element. |