Section

Split content into multiple easily scannable sections.

Import#

  • Section: The container component
  • SectionHeader: The header component with title and description.
  • SectionBody: The section content.
import { Section, SectionHeader, SectionBody } from '@saas-ui-pro/react'

Usage#

Sections can be used to split long content like forms into multiple smaller sections with a title and an optional description.

Basic section#

Live edit

Annotated variant#

The annotated variant is typically used together with the Card component to create well structed forms.

Live edit

Multiple sections with divider#

The annotated variant is typically used together with the Card component to create well structed forms.

Live edit

Custom title and description#

The section title renders a h3 element by default. You can customize the title and description by passing a custom component to the SectionHeader component, instead of using the title prop.

Live edit

Was this helpful?