Skip to content

Now in the official shadcn registry directory.

Start free
Design language comparison

Family vs Railway

Two references, one frame. Palette, typography and the curator verdict for Family and Railway, read side by side.

Palette & spacing overlap

Palette

Shared (1)

#000000

Family only

#474645#ffffff#262626#808080#fbfaf9#4dafff#999999#febe44#34c759#c1cad2#adadad#25292e#2775ca#f0f6fe#e6e6e6#585858#006351

Railway only

#33323e#f7f7f8#868593#296852#a1a0ab#509ee3#a41e11#bf92ec#3d2259#c4c4ca#1d4596#dcdce0#336791#72c09c#37c2fd#f0db4f#323330#eebbbb

Spacing scale (px)

Shared (6)

4px6px8px12px16px24px

Family only

1px10px14px18px20px26px

Railway only

32px40px64px92px96px108px

Typography

Display / body / mono + weight ladder

Side A · Light

Family

Display
Inter
Body
LFE Sans

Weight ladder

400500600

Side B · Dark

Railway

Display
IBM Plex Serif
Body
Inter
Mono
JetBrains Mono

Weight ladder

400

Spacing scale

Base unit + container + first 8 steps

Side A · Light

Family

Base unit
4 px
Container
1904 px
1px
4px
6px
8px
10px
12px
14px
16px

Side B · Dark

Railway

Base unit
4 px
Container
1696 px
4px
6px
8px
12px
16px
24px
32px
40px

Motion vocabulary

Level + libraries + durations + easings

Side A · Light

Family

Level
expressive
Libraries
-

Durations

0.1s0.18s0.2s0.22s0.4s1s

Easings

cubic-bezier(0.19, 1, 0.2...ease-outeaseease-in-out

Side B · Dark

Railway

Level
moderate
Libraries
Framer Motion

Durations

0.05s0.15s0.2s0.4s3s

Easings

cubic-bezier(0.4, 0, 0.2, 1)cubic-bezier(0.4, 0, 1, 1)ease-outease-in-out