Margin icon

16
20
24
32
Stroke weight 1.75
Colour
Size
Line ends
Tile
px
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round">
  <rect x="7" y="7" width="10" height="10" rx="1.5" />
  <path d="M3 8V5a2 2 0 0 1 2-2h3M16 3h3a2 2 0 0 1 2 2v3M21 16v3a2 2 0 0 1-2 2h-3M8 21H5a2 2 0 0 1-2-2v-3" />
</svg>

Colour comes from CSS color.

A 24×24 stroke icon from the Text & Editing set. It uses currentColor, so it takes the colour of your text, and the stroke weight is yours to set.

When to use this icon

A box with space marked around it: the margin outside an element.

  • Margin controls in design and page-builder tools
  • Spacing panels in CSS inspectors
  • Document margin settings

Related icons