Container
Centers content with a max width and side gutters that respect the iPhone safe areas.
import { Container } from "pleate/container";Sizes
size="sm"
size="md"
size="lg"
size="xl"
Props
- size
Max width (42 → 90rem).
"sm" | "md" | "lg" | "xl" | "2xl" | "full"default "xl"- gutter
Side padding, never less than the safe area.
"none" | "sm" | "md" | "lg"default "md"- asChild
Apply to your own element (main, section…).
boolean