Container
import { Container } from '@sky-uk/ui-core';
The Container
component can be used to constrain the size of content. it can be passed a size
prop with one of the following values:
12-col
- 12 Columns (default)10-col
- 10 Columns8-col
- 8 Columns6-col
- 6 Columns4-col
- 4 Columns
<Container $size="8-col">Content Goes Here</Container>
System Modifiers
The Container
component also accepts props applied using the following system modifiers:
- display
- flex-parent (Deprecated, will be removed in future release. Please use Flex.)
- margin