Skip to content

Container

Max-width container.

Import

tsx
import { ZContainer } from "@zurto/ui";

Usage

tsx
<ZContainer>Centered content</ZContainer>
<ZContainer maxWidth="lg">Large container</ZContainer>

Props

PropTypeDefaultDescription
maxWidth'sm' | 'md' | 'lg' | 'xl' | 'full''lg'Max width
paddingbooleantrueHorizontal padding
centeredbooleantrueCenter content

Released under the MIT License.