sigilUI

Container

Constrain content to a consistent, responsive reading width.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

import { Container } from "@sigil-ui/components";

Usage

<Container><p>Content follows the preset’s maximum reading width.</p></Container>

Props

PropTypeDefaultDescription
size"narrow" | "default" | "wide"defaultWidth variant.
centerbooleantrueCenter the container.

Token integration

CSS VariablePurpose
--s-content-max-narrowContent max narrow
--s-content-maxContent max
--s-content-max-wideContent max wide
--s-page-marginPage margin