Code File SVG icon, line

Free

A folded-corner document contains angle brackets to mark a source file. Use it in a repository browser or a file type guide.

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/O3zxbOExkR2L/amnt.svg" alt="Code File" 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="M5 2h9l5 5v13a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2Z"/><path d="M14 2v5h5M9 11l-3 3 3 3m4-6 3 3-3 3"/></svg>
CSS background-image
.code-file {
  background-image: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/O3zxbOExkR2L/amnt.svg");
  background-size: contain;
}
CSS mask-image (takes the text colour)
.code-file {
  width: 1.5em; height: 1.5em;
  background-color: currentColor;
  mask: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/O3zxbOExkR2L/amnt.svg") center / contain no-repeat;
}
React
import CodeFileSvg from "./code-file.jsx"; // from the React tab above

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

Made with AMNT

AMNT SVG 1.1 drew this from the words Code File: A folded-corner document containing two opposing angle brackets. 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