justify-between
: Space is distributed between items. First item at start, last at end.
Typically used for navigation bars where you want items spread across the full width.
justify-around
: Space is distributed around items. Equal space on both sides of each item (half at ends).
Useful for photo galleries or feature lists where items should have breathing room on all sides.
justify-evenly
: Space is distributed evenly between items and at the ends.
Provides the most visually "even" spacing across the entire container.
Note:
These
justify-*
classes are for distributing items along the
main axis
of a flex container. For a standard row (
flex-row
, which is default), this is horizontal.