Components
Section
Section is a full-width vertical-rhythm band. Unlike Container it does not
constrain width - use it for full-bleed padded regions, and nest a
Container inside when the content should also be centred. RSC-safe.
Import from "@instruments/materia-ui/components/section".
Usage
Best practices
Sectionis full-width (padding only, no max-width) - nest aContainerinside when content should also be centred; useContaineralone when you just need the width cap.Tune vertical rhythm with
space(itspy, defaultbase);as/renderare mutually exclusive withrenderwinning (dev-warned).
Props
Also exports
- interface
SectionProps