Container
Centers content with a max-width. Size presets: sm, md, lg (default), xl, full.
sm container — centered, max-width applied
import { Container } from '@gg-software/ui';
<Container size="sm">
<PageContent />
</Container>Props
| Prop | Type | Default | Description |
|---|---|---|---|
children | ReactNode | — | content rendered inside the component |
as | ElementType | — | |
size | "sm" | "md" | "lg" | "full" | "xl" | lg | |
className | string | — | |
style | CSSProperties | — |
* required · generated from packages/ui/src/layout/Container/Container.tsx