Gap vs space-between is one of the most common decision points we see. Here is the honest breakdown.

The short version#

gap is the modern answer for flex/grid gutters; space-between is for non-grid sibling stacks.

Point by point#

AspectAnalysis
Applies togap: flex/grid children; space-*: any siblings via margins
Edge behaviorgap never adds edge space; space-* can double with padding
Wrappinggap handles both axes on wrap; space-x breaks wrapped rows
VerdictUse gap in flex/grid; space-y-* for document-flow stacks

Bottom line#

Pick based on your constraint, not ideology — and remember the comparison pages link to hands-on recipes so you can verify the claim in your own project within minutes.

comparisons/index|All comparisons