Skip to content
Foundation / Layout

Container

server21.5 kB
@stellaria/nebula-webContainerProps

Preview

Props

5
PropTypeDefault

children

ReactNode

className

Composes with the classes `Box` computes instead of replacing them.

string

component

The element it paints. `main` or `section` when the container IS the region, so the landmark and the width live on one node instead of two.

(ElementType & C)"div"

fluid

Spans the full width, ignoring `size`, while keeping the horizontal padding.

booleanfalse

size

Maximum width of the content. The named steps are reading measures, not breakpoints — `xs` 540, `sm` 720, `md` 960, `lg` 1140, `xl` 1320 px — and any other length is taken as written.

Size | Unit"md"

Also accepts

On top of its own props, this component forwards these groups.

Style props · 127