Skip to content

Container

stable

Max-width centered content container

import { Container } from "@nodus/design-system"
Loading demo…

Props

size
Type "sm" | "md" | "lg" | "xl"Default

Max-width breakpoint

px
Type stringDefault

Horizontal padding override

Metadataspace
MobileWorks As-Is

Container applies max-width and centering. Responsive padding is built in via px-4 md:px-8.

Design Rationale

This component was designed to express:

Explore Related

Was this helpful?