Container
Container — the page gutter: a centered column with a named maximum width and responsive side padding. ```tsx <Container> <Section title="Overview">{…}</Section> </Container> <Container size="sm"> <SettingsForm /> </Container> <Container size="full" gutter={false}> <FullBleedMap /> </Container> ``` `gutter` is a real prop rather than a `className` override because the padding is responsive: passing `px-0` would only cancel the base step and leave `sm:px-6` and `lg:px-8` intact, so the escape hatch that looks like it should work silently doesn't.
packages/ui/src/components/layout/container.tsx
@marktiderman/genesis-ui/layoutimport { Container } from "@marktiderman/genesis-ui/layout";react-docgen-typescript.Container
Container — the page gutter: a centered column with a named maximum width and responsive side padding. ```tsx <Container> <Section title="Overview">{…}</Section> </Container> <Container size="sm"> <SettingsForm /> </Container> <Container size="full" gutter={false}> <FullBleedMap /> </Container> ``` `gutter` is a real prop rather than a `className` override because the padding is responsive: passing `px-0` would only cancel the base step and leave `sm:px-6` and `lg:px-8` intact, so the escape hatch that looks like it should work silently doesn't.
| Prop | Type | Default | Description |
|---|---|---|---|
| gutter | boolean | null | — | |
| size | "sm" | "md" | "lg" | "full" | "prose" | null | — | |
| testID | string | — | Stable test/automation selector (emitted as `data-testid`). |