Section
Full-width page band with optional background, vertical padding, and gap. Compose with Wrapper for centered content.
Example
Props
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
gap | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 16 | — | No | Vertical gap between children |
padding | 'none' | 'sm' | 'md' | 'lg' | 'xl' | 'none' | No | Block (top/bottom) padding |
background | 'default' | 'muted' | 'primary' | — | No | Background color |
Accessibility
- Renders semantic <section> element for document outline
Related Tokens
--section-padding