Container
Layout component that can be used to create a responsive container for your content.
Padding
Padding can be used to create a responsive container for your content. By default, the padding is set to 4, which applies only to the inline padding.
Loading...
Show Code
Responsive Padding
Container supports responsive padding using breakpoint objects.
Loading...
Show Code
Width
The width of the container can be set to a specific value or to a responsive value.
Loading...
Show Code
Container
The container uses specific breakpoints optimized for the design system.
Loading...
Show Code
Max Width
The maxWidth property allows you to set a maximum width for the container, preventing it from growing beyond a certain size.
Loading...
Show Code
Accessibility
Container component provides semantic HTML structure and supports accessibility attributes.
Key | Description |
---|---|
⬢ | If as prop is omitted, it defaults to div. |
⬢ | Use semantic HTML elements with the as prop for better accessibility (e.g., as="main", as="section"). |
⬢ | Container supports custom attributes for additional accessibility features. |