Full Width Example
Full Width Example
This page demonstrates the use of the fullWidth: true parameter in the frontmatter. Unlike regular pages that have their content wrapped in a container with a maximum width of 1200px, this page’s content spans the full width of the browser window.
How to Implement Full Width
To make a page use the full width of the browser window, add the following parameter to the page’s frontmatter:
---
title: "Your Page Title"
description: "Your page description"
fullWidth: true
---
This parameter tells the template to render the page without the container that normally limits the content width.
When to Use Full Width
The full width layout is useful for:
- Pages with large tables that need more horizontal space
- Galleries or image collections that benefit from using the entire screen
- Custom layouts where you want to control the width yourself
- Data visualization or charts that need more space
Comparison
To see the difference, compare this page with the Design Components page, which uses the default container layout.
Example of Wide Content
| Column 1 | Column 2 | Column 3 | Column 4 | Column 5 | Column 6 | Column 7 | Column 8 | Column 9 | Column 10 |
|---|---|---|---|---|---|---|---|---|---|
| Data 1 | Data 2 | Data 3 | Data 4 | Data 5 | Data 6 | Data 7 | Data 8 | Data 9 | Data 10 |
| Data 11 | Data 12 | Data 13 | Data 14 | Data 15 | Data 16 | Data 17 | Data 18 | Data 19 | Data 20 |