logo-icon
STW UI

Grid

Grid is used to organize and display data.

Basic

col-24
col-12
col-12
col-8
col-8
col-8
col-6
col-6
col-6
col-6
w-[20%]
w-[20%]
w-[20%]
w-[20%]
w-[20%]

With Breakpoints

col-24
col-24
col-24
col-24
col-24
col-24

With Gutter

Horizontal
col-6
col-6
col-6
col-6
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
Horizontal & Vertical
col-6
col-6
col-6
col-6
col-6
col-6
col-6
col-6

With Justify

Start
col-4
col-4
col-4
col-4
Center
col-4
col-4
col-4
col-4
End
col-4
col-4
col-4
col-4
Between
col-4
col-4
col-4
col-4
Around
col-4
col-4
col-4
col-4

With Align

Start
col-4
col-4
col-4
col-4
Center
col-4
col-4
col-4
col-4
End
col-4
col-4
col-4
col-4

Row Slots

default

Row Props

gutter TwSizes | [TwSizes, TwSizes] 0
justify 'start' | 'center' | 'end' | 'between' | 'around' | undefined start
align 'start' | 'center' | 'end' start

Col Slots

default

Row/Col Class Identifiers

stwui-row
stwui-col