Class Reference

Structure

Class Reference

Structure

Page wrappers, content widths and section spacing.

How to use

Use a vertical section class and padding-global on the section. Use content-wrapper with padding-none inside it. The wrapper controls maximum width, while the section controls the gutters.

Responsive behavior

Fluid variables scale spacing and widths with the viewport. A full-bleed section uses padding-x-none instead of padding-global.

Visual reference

Live examples use the installed class styles and your current design variables. Previews expand to show the full example; responsive classes follow the browser width.

.main-wrapperwidth: 100% · min-width: 0
Content width
.section-normalpadding-top: var(--padding-section-y) · padding-bottom: var(--padding-section-y)
Content
.section-smallpadding-top: var(--space-sm) · padding-bottom: var(--space-sm)
Content
.section-largepadding-top: var(--space-xl) · padding-bottom: var(--space-xl)
Content
.section-heromin-height: 100svh · padding-top: var(--padding-section-y) · padding-bottom: var(--padding-section-y)
Content

This section has a minimum height of 100svh: the small viewport height, with the browser controls visible. Unlike dvh, this height stays stable as browser controls appear or disappear.

.padding-globalpadding-left: var(--padding-section-x) · padding-right: var(--padding-section-x)
Content
.content-wrapper-fullwidth: 100% · max-width: none
Content width
.content-wrapper-320width: 100% · max-width: var(--layout-width-320) · margin-left: auto · margin-right: auto
Content width
.content-wrapper-480width: 100% · max-width: var(--layout-width-480) · margin-left: auto · margin-right: auto
Content width
.content-wrapper-640width: 100% · max-width: var(--layout-width-640) · margin-left: auto · margin-right: auto
Content width
.content-wrapper-768width: 100% · max-width: var(--layout-width-768) · margin-left: auto · margin-right: auto
Content width
.content-wrapper-960width: 100% · max-width: var(--layout-width-960) · margin-left: auto · margin-right: auto
Content width
.content-wrapper-1280width: 100% · max-width: var(--layout-width-1280) · margin-left: auto · margin-right: auto
Content width
.content-wrapper-1440width: 100% · max-width: var(--layout-width-1440) · margin-left: auto · margin-right: auto
Content width
.content-wrapper-1600width: 100% · max-width: var(--layout-width-1600) · margin-left: auto · margin-right: auto
Content width
.content-wrapper-1920width: 100% · max-width: var(--layout-width-1920) · margin-left: auto · margin-right: auto
Content width
.layout-rowdisplay: flex · flex-direction: row
123
.layout-columndisplay: flex · flex-direction: column
123
.content-wrapperwidth: 100% · max-width: var(--site-content-width) · margin-left: auto · margin-right: auto
Content width
NextLayoutExplore layout classes and how to use them.