Section
A simple container to divide your page into sections.
Playground
Props
Examples
Sizes
You can use the sizeprop to change the vertical spacing.
Small Section
Normal Section
Medium Section
Large Section
Props
| Prop | Type | Default | Description |
|---|---|---|---|
as | ElementType | 'section' | The HTML element to render as. |
children | ReactNode | - | The content of the section. |
className | string | - | Additional CSS classes. |
size | ThemeSize | - | Size modifier (medium, large). |
See also
Last updated on