Gestalt supports a 12-column system.

Props

Name
Type
Default
span
Required
0 .. 12
-
smSpan, mdSpan, lgSpan
children
React.Node
-

Static columns

Column is a basic layout component to help you size your UI. A full width is composed
of 12 units, each equal to 1/12 of the total width. By setting the span prop you
dictate the percent width an element can occupy.

Example: Basic Column Unit

1
1
1
1
1
1
1
1
1
1
1
1

Example: Three Equal Columns

4
4
4

Example: Two Equal Columns

6
6

Example: Two Unequal Columns

8
4

Responsive columns

Column supports setting a span at our 3 responsive breakpoints: sm, md, lg. Each
sets the span of the column from that breakpoint and up. If you don't want your
column to be responsive, only set the span prop.

Example: Stacking Columns

12
6
12
6

Example: Resizing Columns

6
3
6
3
6
3
6
3

Example: Equal height columns

Unlike traditional CSS columns, using flex columns makes each column equal height by default.

Tall column
With lots of content
Short column

Example: Gutters

Column gutters can be created through composition and negative margins.

Content
Row
Column A
Column B