Components/Section

Section

Semantic section element with responsive vertical padding presets.

Installation

Examples

Padding sizes

sm, md, lg, xl vertical padding.

sm — py-6
md — py-12
lg — py-20
xl — py-28

API Reference

PropTypeDefaultDescription
size'sm'|'md'|'lg'|'xl''md'Controls vertical padding.
containerbooleanfalseWraps children in a Container.