code icon
code from Phosphor by Phosphor Icons · Regular · MIT Free for personal and commercial use.
- Name
- code
- Set
- Phosphor
- Style
- Regular
- Viewbox
- 256×256
- License
- MIT
5 other variants in Phosphor
The same icon in other sets
codeBootstrap IconscodeBoxIcons v2codeCarboncode-fillEva IconscodeFont Awesome 6 SolidcodeFeather Iconscode-16-filledFluent UI System Iconscodecss.ggcodeHuge IconscodeHumbleiconscodeIconoircodeIonIconscodeJam IconscodeLine AwesomecodeLucidecodeMajesticonscodeMaterial Symbolscode-fillMingCute IconcodeOcticonscodePixelarticonscodeRadix Iconscode-fillRemix Iconcode-boldSolarcodeTabler Icons
Related icons in Phosphor
Use the code icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 256 256"><path fill="currentColor" d="M69.12 94.15L28.5 128l40.62 33.85a8 8 0 1 1-10.24 12.29l-48-40a8 8 0 0 1 0-12.29l48-40a8 8 0 0 1 10.24 12.3m176 27.7l-48-40a8 8 0 1 0-10.24 12.3L227.5 128l-40.62 33.85a8 8 0 1 0 10.24 12.29l48-40a8 8 0 0 0 0-12.29m-82.39-89.37a8 8 0 0 0-10.25 4.79l-64 176a8 8 0 0 0 4.79 10.26A8.1 8.1 0 0 0 96 224a8 8 0 0 0 7.52-5.27l64-176a8 8 0 0 0-4.79-10.25"/></svg>
React
import type { SVGProps } from "react";
export function PhCode(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 256 256"><path fill="currentColor" d="M69.12 94.15L28.5 128l40.62 33.85a8 8 0 1 1-10.24 12.29l-48-40a8 8 0 0 1 0-12.29l48-40a8 8 0 0 1 10.24 12.3m176 27.7l-48-40a8 8 0 1 0-10.24 12.3L227.5 128l-40.62 33.85a8 8 0 1 0 10.24 12.29l48-40a8 8 0 0 0 0-12.29m-82.39-89.37a8 8 0 0 0-10.25 4.79l-64 176a8 8 0 0 0 4.79 10.26A8.1 8.1 0 0 0 96 224a8 8 0 0 0 7.52-5.27l64-176a8 8 0 0 0-4.79-10.25"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 256 256"><path fill="currentColor" d="M69.12 94.15L28.5 128l40.62 33.85a8 8 0 1 1-10.24 12.29l-48-40a8 8 0 0 1 0-12.29l48-40a8 8 0 0 1 10.24 12.3m176 27.7l-48-40a8 8 0 1 0-10.24 12.3L227.5 128l-40.62 33.85a8 8 0 1 0 10.24 12.29l48-40a8 8 0 0 0 0-12.29m-82.39-89.37a8 8 0 0 0-10.25 4.79l-64 176a8 8 0 0 0 4.79 10.26A8.1 8.1 0 0 0 96 224a8 8 0 0 0 7.52-5.27l64-176a8 8 0 0 0-4.79-10.25"/></svg> </template>
CSS
.icon-code {
width: 24px;
height: 24px;
background-color: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%20256%20256%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M69.12%2094.15L28.5%20128l40.62%2033.85a8%208%200%201%201-10.24%2012.29l-48-40a8%208%200%200%201%200-12.29l48-40a8%208%200%200%201%2010.24%2012.3m176%2027.7l-48-40a8%208%200%201%200-10.24%2012.3L227.5%20128l-40.62%2033.85a8%208%200%201%200%2010.24%2012.29l48-40a8%208%200%200%200%200-12.29m-82.39-89.37a8%208%200%200%200-10.25%204.79l-64%20176a8%208%200%200%200%204.79%2010.26A8.1%208.1%200%200%200%2096%20224a8%208%200%200%200%207.52-5.27l64-176a8%208%200%200%200-4.79-10.25%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%20256%20256%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M69.12%2094.15L28.5%20128l40.62%2033.85a8%208%200%201%201-10.24%2012.29l-48-40a8%208%200%200%201%200-12.29l48-40a8%208%200%200%201%2010.24%2012.3m176%2027.7l-48-40a8%208%200%201%200-10.24%2012.3L227.5%20128l-40.62%2033.85a8%208%200%201%200%2010.24%2012.29l48-40a8%208%200%200%200%200-12.29m-82.39-89.37a8%208%200%200%200-10.25%204.79l-64%20176a8%208%200%200%200%204.79%2010.26A8.1%208.1%200%200%200%2096%20224a8%208%200%200%200%207.52-5.27l64-176a8%208%200%200%200-4.79-10.25%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/ph/code.svg?color=%231a73e8&size=48