Arctic Design
Get StartedFoundationsComponentsExamples
K

Grid

Arranges content in a structured, responsive layout of rows and columns for consistent alignment and spacing.

Usage
xs=12
xs=12 sm=4
xs=12 sm=8
xs=12 sm=6 md=4 lg=3
xs=12 sm=6 md=4 lg=3
xs=12 sm=6 md=4 lg=3
xs=12 sm=6 md=4 lg=3
xs=12 sm=8
import { Grid, GridColumn, GridRow, Paper } from '@arctic-kit/snow';
function Demo() {
return (
<Grid spacing={1}>
<GridRow>
<GridColumn xs={12}>
<Paper variant='outlined'>xs=12</Paper>
</GridColumn>
<GridColumn xs={12} sm={4}>
<Paper variant='outlined'>xs=12 sm=4</Paper>
</GridColumn>
<GridColumn xs={12} sm={8}>
<Paper variant='outlined'>xs=12 sm=8</Paper>
</GridColumn>
</GridRow>
<GridRow>
<GridColumn xs={12} sm={6} md={4} lg={3}>
<Paper variant='outlined'>xs=12 sm=6 md=4 lg=3</Paper>
</GridColumn>
<GridColumn xs={12} sm={6} md={4} lg={3}>
<Paper variant='outlined'>xs=12 sm=6 md=4 lg=3</Paper>
</GridColumn>
<GridColumn xs={12} sm={6} md={4} lg={3}>
<Paper variant='outlined'>xs=12 sm=6 md=4 lg=3</Paper>
</GridColumn>
<GridColumn xs={12} sm={6} md={12} lg={3}>
<Paper variant='outlined'>xs=12 sm=6 md=4 lg=3</Paper>
</GridColumn>
<GridColumn xs={12} sm={8}>
<Paper variant='outlined'>xs=12 sm=8</Paper>
</GridColumn>
</GridRow>
</Grid>
);
}

API Reference

PropsTypeDefault
gutterWidthnumber | undefined---
spacingnumber | undefined---