Grid

Layout grids define structure, hierarchy, and rhythm in your design. Working from a defined layout system allows you to work faster and more consistently, removing guesswork as you lay out responsive designs.

NameValue
18.333333333333333%
216.666666666666664%
325%
433.33333333333333%
541.66666666666667%
650%
758.333333333333336%
866.66666666666666%
975%
1083.33333333333333%
1191.66666666666666%
12100%

Grid layouts

Desktop 1,440px

1
2
3
4
5
6
7
8
9
10
11
12
<div class="grid"> <div class="grid-cols-1">1</div> <div class="grid-cols-1">2</div> <div class="grid-cols-1">3</div> <div class="grid-cols-1">4</div> <div class="grid-cols-1">5</div> <div class="grid-cols-1">6</div> <div class="grid-cols-1">7</div> <div class="grid-cols-1">8</div> <div class="grid-cols-1">9</div> <div class="grid-cols-1">10</div> <div class="grid-cols-1">11</div> <div class="grid-cols-1">12</div> </div>
// WIP
// WIP
// WIP

Tablet 834px

1
2
3
4
5
6
<div class="grid"> <div class="grid-cols-2">1</div> <div class="grid-cols-2">2</div> <div class="grid-cols-2">3</div> <div class="grid-cols-2">4</div> <div class="grid-cols-2">5</div> <div class="grid-cols-2">6</div> </div>
// WIP
// WIP
// WIP

Mobile Large 360px

1
2
3
4
<div class="grid"> <div class="grid-cols-2">1</div> <div class="grid-cols-2">2</div> <div class="grid-cols-2">3</div> <div class="grid-cols-2">4</div> <div class="grid-cols-2">5</div> <div class="grid-cols-2">6</div> </div>
// WIP
// WIP
// WIP

Container grid layouts

12 columns (auto)

1
2
3
4
5
6
7
8
9
10
11
12
<div class="grid"> <div class="grid-cols-2">1</div> <div class="grid-cols-2">2</div> <div class="grid-cols-2">3</div> <div class="grid-cols-2">4</div> <div class="grid-cols-2">5</div> <div class="grid-cols-2">6</div> </div>
// WIP
// WIP
// WIP

6 columns (auto)

1
2
3
4
5
6
<div class="grid"> <div class="grid-cols-2">1</div> <div class="grid-cols-2">2</div> <div class="grid-cols-2">3</div> <div class="grid-cols-2">4</div> <div class="grid-cols-2">5</div> <div class="grid-cols-2">6</div> </div>
// WIP
// WIP
// WIP

5 columns (auto)

1
2
3
4
5
<div class="grid"> <div class="w-full">1</div> <div class="w-full">2</div> <div class="w-full">3</div> <div class="w-full">4</div> <div class="w-full">5</div> </div>
// WIP
// WIP
// WIP

3 columns (auto)

1
2
3
<div class="grid"> <div class="grid-cols-4">1</div> <div class="grid-cols-4">2</div> <div class="grid-cols-4">3</div> </div>
// WIP
// WIP
// WIP

2 columns (auto)

1
2
<div class="grid"> <div class="grid-cols-6">1</div> <div class="grid-cols-6">2</div> </div>
// WIP
// WIP
// WIP

Screens

NameValue
desktop1440px
tablet834px
mobile360px