<Section>

Use a Section to band content together — a hero, a card, a footer. It can hold any leaf block and can be nested inside another Section.

<Section>

Container

Use a Section to band content together — a hero, a card, a footer. It can hold any leaf block and can be nested inside another Section.

PropTypeDefaultDescription
background-colorcolor—Fill color behind the section.
padding-xnumber24Horizontal inner padding (px).
padding-ynumber24Vertical inner padding (px).
border-widthnumber—Border stroke width (px). 0/absent = no visible border.
border-styleenumsolid | dashed | dotted—Border stroke style.
border-colorcolor—Border stroke color.
border-radiusnumber—Corner rounding (px). Independent of width — round a filled card without a stroke.

Common props

Every block accepts these in addition to its own props.

PropTypeDefaultDescription
margin-bottomnumber16Vertical space (px) below the block.
classNamestring—Tailwind-style utility classes compiled to inline CSS at render (e.g. "mt-4 text-zinc-500 sm:hidden"). Responsive/pseudo variants are hoisted into a <style> block. `class` and `tw` are accepted as aliases in code.
custom-csscss—Extra inline CSS declarations merged onto the block's root element (e.g. "letter-spacing: 1px; opacity: 0.9"). Inlined so it survives every client.

Per-side spacing is also supported via padding and margin objects in the visual editor's inspector.