560+

Section

A layout component for organizing page content into sections.

For full page examples, browse the block examples.

Launch checklist

Plan the next release

Keep copy, actions, and supporting details aligned in one predictable section.

01 Scope

02 Review

03 Ship

Installation

npx shadcn@latest add @fulldev/section

Usage

import {
  Section,
  SectionContainer,
  SectionDescription,
  SectionTitle,
} from "@/components/ui/section"
<Section>
  <SectionContainer>
    <SectionTitle>Release notes</SectionTitle>
    <SectionDescription>
      Use the container for the section content you want aligned.
    </SectionDescription>
  </SectionContainer>
</Section>

Examples

Customer story

A quieter layout for long-form copy

Floating sections frame a focused slice of content without changing the page width contract.

"The section feels separate from the surrounding page, while still using the same layout rhythm."

Notes

  • Section controls spacing and surface treatment.
  • SectionContainer keeps the inner width and horizontal padding consistent.
  • SectionTitle renders the section heading with the shared type scale. Use as="h1" or as="h3" to change the heading level.
  • SectionDescription renders the supporting paragraph under a title.
  • Use class on Section when a specific page needs custom vertical spacing.

API Reference

See the GitHub source code for more information on props.