Skip to main content

Container

The Container is a wrapper for the overall layout and can be used to center or contain content.

Installation

Install

yarn add @iag/chroma-react-ui.components

Import

import { Container } from '@iag/chroma-react-ui.components';

Accessibility

Accessibility Documentation(opens in new window)

Breakpoints

BreakpointWidth
xs0 to 575px
sm576px to 768px
md769 to 991px
lg992px to 1999px
xl1200px and above

Max Widths

BreakpointMax Width
xs960px
sm960px
md960px
lg960px
xl1140px

Default

Fluid Container

A fluid container has no set max-width applied to it so it will display the full width of the viewport.

Properties

Using props from bit.dev

Name
Description

    CSS Variables