Container

Layout component that can be used to create a responsive container for your content.

Import

import { Container } from '@vortex-kit/vortex';
import type { ContainerProps } from '@vortex-kit/vortex';

Display

<Container>{children}</Container>

Allied components

Container

Prop
Type
Default
as
keyof React.JSX.IntrinsicElements
div
padding
union
4
width
union
maxWidth
union
100%
children
React.ReactNode
className
union
attributes
object
Container Utility Props — Vortex Design System