Skip to content

Space, shape and motion

Spacing, corners and borders that keep screens consistent.

A 4px grid, corners set by role, thin borders and short motion that slows at the end.

Spacing

All spacing is a multiple of 4px. Use gaps between neighbors instead of margins.

4px
8px
12px
16px
24px
32px
48px
64px

Corners

Borders

Elevation

Motion

Build your next AI screen with Tattva.

Free and open, with the code. Start in one line.

Get started