Skip to content

Section

The Section component provides a simple semantic wrapper for page sections. It renders a <section> element with the .section class and optionally wraps its content in a .container for consistent spacing and alignment.

Welcome

Use sections to group related content and keep layouts consistent.

Full-width content

Set container=false to render the section without the inner container.

PropTypeDescription
idstringOptional id applied to the <section> element.
classNamestringAdditional CSS classes applied to the section.
containerbooleanControls whether the component renders an inner .container wrapper. Defaults to true.

Wrap related content in a Section component to create a clear page block with consistent container-based layout. The component is especially useful for landing pages, about sections, feature groups, and content blocks.

Use container={false} when you want the section to span the full available width without the inner content wrapper.