Code 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">
  <path d="M7.5 7L3 12l4.5 5" />
  <path d="M16.5 7l4.5 5-4.5 5" />
  <path d="M14 4l-4 16" />
</svg>

Colour comes from CSS color.

A 24×24 stroke icon from the Developer Tools 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

Angle brackets: source code. The most direct way to say code, a snippet or developer content.

  • A Code tab beside Preview
  • Embed and snippet buttons
  • Developer sections in documentation

Related icons