Grids & spacing: Spacing
Grids and spacing organize content and actions for any layout
- Spacing helps group content, direct attention, and shape the personality of a product
- A denser layout can feel more serious and focused, while a more spacious layout can feel calm and open
- Material’s spacing system can adapt to breakpoints and density settings. More on the spacing system

Spacing to group content
Grouping connects related elements that share context, such as an image and its caption. Use spacing to visually tie elements together and establish boundaries between unrelated items.

Explicit grouping uses visual boundaries like outlines, dividers, and shadows to group related elements in an enclosed area.
It can also indicate that an item is interactive, such as:
- List items between dividers
- A card displaying an image and its caption

Implicit grouping uses close proximity and open space (rather than lines and shadows) to group related items.
For example, the items in a carousel are placed close together, with space around the composition to separate them from other content.

Spacing to direct attention
Use rhythm, similarity, and other grouping principles to distinguish and highlight important elements.
Rhythm
Consistent spacing between related elements or groups makes them easier to navigate with the eye.

Similarity
Similar elements should have the same spacing and sizing in a layout to show they’re related.
Leading elements like thumbnails, avatars, or icons should always be aligned.

Proximity
Place components near each other to create cohesive groups. This helps people understand the relationships between information and actions.
For example, buttons should be close to the content they’re affecting.

Continuity
Place related elements in a container, row, or column to establish a clear group or relationship.

Spacing as expression
Give the most important content, tasks, or actions visual prominence with generous spacing and the brightest surfaces.
Focal points
Consistent placement of key actions and information helps build recognizable focal points across a product.

Negative space
Allow negative space to give form and meaning to elements on screen. Framing important actions or content with generous spacing creates emphasis.
