Grid

24 Grids System.

Grid

When to use

In most business situations, PCB Design system needs to solve a lot of information storage problems within the design area, so based on 12 Grids System, we divided the design area into 24 sections.



Vertical grid for 1920

We divided the design area into 24 sections 56px with 32px gutters. Or 12 sections 112px with 32px gutters. The layout is a centered.
112
56
32
1920




Vertical grid for 1440, without gutter

We divided the design area into 24 sections 56px. The layout is a centered.
56




Vertical grid for 1440

We divided the design area into 24 sections 40px with 16px gutters. Or 12 sections 96px with 16px gutters. The layout is a centered.
96
40
16
1440




Vertical grid for 1280

We divided the design area into 24 sections 32px with 16px gutters. Or 12 sections 80px with 16px gutters. The layout is a centered.
80
32
16
1280




Vertical grid for 768

We divided the design area into 24 sections 16px with 16px gutters. Or 12 sections 48px with 16px gutters. The layout is a centered.
48
16
16
768




Baseline grid, 24px

24px is baseline grid
24




Micromodule, 8px

All components align to an 8px square baseline grid.
8
8




Examples

From the stack to the horizontal arrangement.
You can create a basic grid system by using a single set of Row and Col grid assembly, all of the columns (Col) must be placed in Row.
COL
COL-6
25%
25%
25%
COL-8
COL-8
COL-8
COL-12
COL-12

Grid Gutter

You can use the gutter property of Row as grid spacing, we recommend set it to (16 + 8n) px. (n stands for natural number.)
You can set it to a object like { xs: 8, sm: 16, md: 24, lg: 32 } for responsive design.
You can use a array to set vertical spacing, [horizontal, vertical] [16, { xs: 8, sm: 16, md: 24, lg: 32 }].
Horizontal
COL-6
COL-6
COL-6
COL-6
Responsive
COL-6
COL-6
COL-6
COL-6
Vertical
COL-6
COL-6
COL-6
COL-6
COL-6
COL-6
COL-6
COL-6

API

Row
PropertyDescriptionTypeDefault
align
vertical alignment
top | middle | bottom
top
gutter
spacing between grids, could be a number or a object like { xs: 8, sm: 16, md: 24}. or you can use array to make horizontal and vertical spacing work at the same time [horizontal, vertical]
number/object/array
0
justify
horizontal arrangement
start | end | center | space-around | space-between
start
Col
PropertyDescriptionTypeDefault
flex
flex layout style
string | number
-
offset
the number of cells to offset Col from the left
number
0
order
raster order
number
0
pull
the number of cells that raster is moved to the left
number
0
push
the number of cells that raster is moved to the right
number
0
span
raster number of cells to occupy, 0 corresponds to display: none
number
none
xs
<576px and also default setting, could be a span value or an object containing above props
number|object
-
sm
≥576px, could be a span value or an object containing above props
number|object
-
md
≥768px, could be a span value or an object containing above props
number|object
-
lg
≥992px, could be a span value or an object containing above props
number|object
-
xl
≥1200px, could be a span value or an object containing above props
number|object
-
xxl
≥1600px, could be a span value or an object containing above props
number|object
-