Skip to main content

Grid

Provides a brief message about the app processes.

Submit feedback
github
import { Grid } from '@uhg-abyss/mobile';

Space

Use the space prop to determine the amount of space between elements in the grid.

Span

Number

Regardless of viewport width, the span will remain the same for these columns. Change the span by using [column spans] of the parent container.

Percent

Regardless of viewport width, the span will remain the same for these columns. Change the span by using percentages of the parent container.

Grid Props

Prop NameTypeDefaultDescription
childrennode-The contents of the grid component
columnsnumber12The number of columns in the grid
spacenumber | string$semantic.spacing.smDetermines the amount of space between elements in the grid
spannumber | string12Handles the span size of the grid

Grid.Col Props

Prop NameTypeDefaultDescription
childrennode-The contents of the grid col component
spannumber | string-Handles the span size of the column

Grid Classes

Class NameDescription
abyss-gridGrid root element

Grid.Col Classes

Class NameDescription
abyss-grid-col-rootGrid column element
Table of Contents