code icon
code-20 from Fluent UI System Color Icons by Microsoft Corporation · 20 · MIT Free for personal and commercial use.
- Name
- code-20
- Set
- Fluent UI System Color Icons
- Style
- 20
- Viewbox
- 20×20
- License
- MIT
2 other variants in Fluent UI System Color Icons
The same icon in other sets
code-filledAnt Design IconscodeBootstrap IconscodeBoxIcons v2codeCarboncodeCodiconscode-fillEva IconscodeFont Awesome 6 SolidcodeFont Awesome SolidcodeFeather Iconscode-outlineFlowbite Iconscode-16-filledFluent UI System Iconscodecss.ggcodeHuge IconscodeHumbleiconscodeIconParkcodeIconPark OutlinecodeIconoircodeIonIconscodeJam IconscodeLine AwesomecodeLucidecodeMajesticonscodeMaterial SymbolscodeMaterial Symbols Light
Related icons in Fluent UI System Color Icons
Use the code icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><g fill="none"><path fill="url(#SVGTp1oAcAx1)" d="M12.859 2.567a1 1 0 0 1 .574 1.292l-5 13a1 1 0 1 1-1.866-.718l5-13a1 1 0 0 1 1.292-.574"/><path fill="url(#SVGTp1oAcAx1)" d="M6.15 5.74a1 1 0 0 1 .11 1.41L3.816 10l2.442 2.85a1 1 0 0 1-1.518 1.3l-3-3.5a1 1 0 0 1 0-1.3l3-3.5a1 1 0 0 1 1.41-.11"/><path fill="url(#SVGTp1oAcAx1)" d="M13.74 7.15a1 1 0 0 1 1.52-1.3l3 3.5a1 1 0 0 1 0 1.3l-3 3.5a1 1 0 0 1-1.52-1.3L16.184 10z"/><defs><linearGradient id="SVGTp1oAcAx1" x1="2" x2="19" y1="1.5" y2="18" gradientUnits="userSpaceOnUse"><stop stop-color="#c76efb"/><stop offset="1" stop-color="#8b52f4"/></linearGradient></defs></g></svg>
React
import type { SVGProps } from "react";
export function FluentColorCode20(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><g fill="none"><path fill="url(#SVGTp1oAcAx1)" d="M12.859 2.567a1 1 0 0 1 .574 1.292l-5 13a1 1 0 1 1-1.866-.718l5-13a1 1 0 0 1 1.292-.574"/><path fill="url(#SVGTp1oAcAx1)" d="M6.15 5.74a1 1 0 0 1 .11 1.41L3.816 10l2.442 2.85a1 1 0 0 1-1.518 1.3l-3-3.5a1 1 0 0 1 0-1.3l3-3.5a1 1 0 0 1 1.41-.11"/><path fill="url(#SVGTp1oAcAx1)" d="M13.74 7.15a1 1 0 0 1 1.52-1.3l3 3.5a1 1 0 0 1 0 1.3l-3 3.5a1 1 0 0 1-1.52-1.3L16.184 10z"/><defs><linearGradient id="SVGTp1oAcAx1" x1="2" x2="19" y1="1.5" y2="18" gradientUnits="userSpaceOnUse"><stop stopColor="#c76efb"/><stop offset="1" stopColor="#8b52f4"/></linearGradient></defs></g></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><g fill="none"><path fill="url(#SVGTp1oAcAx1)" d="M12.859 2.567a1 1 0 0 1 .574 1.292l-5 13a1 1 0 1 1-1.866-.718l5-13a1 1 0 0 1 1.292-.574"/><path fill="url(#SVGTp1oAcAx1)" d="M6.15 5.74a1 1 0 0 1 .11 1.41L3.816 10l2.442 2.85a1 1 0 0 1-1.518 1.3l-3-3.5a1 1 0 0 1 0-1.3l3-3.5a1 1 0 0 1 1.41-.11"/><path fill="url(#SVGTp1oAcAx1)" d="M13.74 7.15a1 1 0 0 1 1.52-1.3l3 3.5a1 1 0 0 1 0 1.3l-3 3.5a1 1 0 0 1-1.52-1.3L16.184 10z"/><defs><linearGradient id="SVGTp1oAcAx1" x1="2" x2="19" y1="1.5" y2="18" gradientUnits="userSpaceOnUse"><stop stop-color="#c76efb"/><stop offset="1" stop-color="#8b52f4"/></linearGradient></defs></g></svg> </template>
CSS
.icon-code-20 {
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%2020%2020%22%3E%3Cg%20fill%3D%22none%22%3E%3Cpath%20fill%3D%22url(%23SVGTp1oAcAx1)%22%20d%3D%22M12.859%202.567a1%201%200%200%201%20.574%201.292l-5%2013a1%201%200%201%201-1.866-.718l5-13a1%201%200%200%201%201.292-.574%22%2F%3E%3Cpath%20fill%3D%22url(%23SVGTp1oAcAx1)%22%20d%3D%22M6.15%205.74a1%201%200%200%201%20.11%201.41L3.816%2010l2.442%202.85a1%201%200%200%201-1.518%201.3l-3-3.5a1%201%200%200%201%200-1.3l3-3.5a1%201%200%200%201%201.41-.11%22%2F%3E%3Cpath%20fill%3D%22url(%23SVGTp1oAcAx1)%22%20d%3D%22M13.74%207.15a1%201%200%200%201%201.52-1.3l3%203.5a1%201%200%200%201%200%201.3l-3%203.5a1%201%200%200%201-1.52-1.3L16.184%2010z%22%2F%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22SVGTp1oAcAx1%22%20x1%3D%222%22%20x2%3D%2219%22%20y1%3D%221.5%22%20y2%3D%2218%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23c76efb%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%238b52f4%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fg%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%2020%2020%22%3E%3Cg%20fill%3D%22none%22%3E%3Cpath%20fill%3D%22url(%23SVGTp1oAcAx1)%22%20d%3D%22M12.859%202.567a1%201%200%200%201%20.574%201.292l-5%2013a1%201%200%201%201-1.866-.718l5-13a1%201%200%200%201%201.292-.574%22%2F%3E%3Cpath%20fill%3D%22url(%23SVGTp1oAcAx1)%22%20d%3D%22M6.15%205.74a1%201%200%200%201%20.11%201.41L3.816%2010l2.442%202.85a1%201%200%200%201-1.518%201.3l-3-3.5a1%201%200%200%201%200-1.3l3-3.5a1%201%200%200%201%201.41-.11%22%2F%3E%3Cpath%20fill%3D%22url(%23SVGTp1oAcAx1)%22%20d%3D%22M13.74%207.15a1%201%200%200%201%201.52-1.3l3%203.5a1%201%200%200%201%200%201.3l-3%203.5a1%201%200%200%201-1.52-1.3L16.184%2010z%22%2F%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22SVGTp1oAcAx1%22%20x1%3D%222%22%20x2%3D%2219%22%20y1%3D%221.5%22%20y2%3D%2218%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23c76efb%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%238b52f4%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/fluent-color/code-20.svg?color=%231a73e8&size=48