Code SVG icon, line

Free

Opposing angle brackets flank a diagonal slash to represent source code. Use it in a programming tutorial or beside a code example.

Sign in to download. Free SVGs are free with any account.

How to use it

HTML <img>
<img src="https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/UQerlXXJHrqQ/amnt.svg" alt="Code" width="48" height="48">
Inline SVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m8 6-5 6 5 6"/><path d="m16 6 5 6-5 6"/><path d="m14 4-4 16"/></svg>
CSS background-image
.code {
  background-image: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/UQerlXXJHrqQ/amnt.svg");
  background-size: contain;
}
CSS mask-image (takes the text colour)
.code {
  width: 1.5em; height: 1.5em;
  background-color: currentColor;
  mask: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/UQerlXXJHrqQ/amnt.svg") center / contain no-repeat;
}
React
import CodeSvg from "./code.jsx"; // from the React tab above

<CodeSvg width={48} height={48} />

Made with AMNT

AMNT SVG 1.1 drew this from the words Code: Opposing angle brackets with a diagonal slash between them. as part of the pack Code and Developer Icons, Line. Want one like it? Make your own in the SVG studio.

Rest of Code and Developer Icons, Line

Similar SVGs

Licence: free. A Free account may use it for personal work; Pro and Max download it with a commercial licence, fixed at download, forever. No credit needed. Read the licence