Components
Container
Container centres page content within a max-width and applies the canonical
horizontal gutter. It is the RSC-safe page-shell primitive: pair it with
Section for vertical rhythm, or pass space to fold the band into one node.
Import from "@instruments/materia-ui/components/container".
Usage
Best practices
Containerconstrains width and applies the page gutter;Sectionis the full-bleed vertical-rhythm band - nest aContainerinside aSectionwhen content must be both padded and centred.Fold a single band into one node with
space(itspy) instead of nesting aSection; passfluidto drop the max-width.
Props
Also exports
- interface
ContainerProps