code icon
code from Codicons by Microsoft Corporation · Regular · CC-BY-4.0 Attribution required.
- Name
- code
- Set
- Codicons
- Style
- Regular
- Viewbox
- 16×16
- License
- CC BY 4.0
The same icon in other sets
code-filledAnt Design IconscodeBootstrap IconscodeBoxIcons v2codeCarboncode-fillEva IconscodeFont Awesome 6 SolidcodeFont Awesome SolidcodeFeather Iconscode-outlineFlowbite Iconscode-16-filledFluent UI System Iconscode-16Fluent UI System Color Iconscodecss.ggcodeHuge IconscodeHumbleiconscodeIconParkcodeIconPark OutlinecodeIconoircodeIonIconscodeJam IconscodeLine AwesomecodeLucidecodeMajesticonscodeMaterial SymbolscodeMaterial Symbols Light
Related icons in Codicons
Use the code icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M9.803 3.043a.5.5 0 0 1 .254.66l-4 9a.5.5 0 1 1-.914-.406l4-9a.5.5 0 0 1 .66-.254m-5.47 2.333a.5.5 0 0 1 .04.706L2.67 8l1.705 1.918a.5.5 0 0 1-.748.664l-2-2.25a.5.5 0 0 1 0-.664l2-2.25a.5.5 0 0 1 .706-.042m7.335 0a.5.5 0 0 1 .706.042l2 2.25a.5.5 0 0 1 0 .664l-2 2.25a.5.5 0 1 1-.748-.664L13.331 8l-1.705-1.918a.5.5 0 0 1 .042-.706"/></svg>
React
import type { SVGProps } from "react";
export function CodiconCode(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M9.803 3.043a.5.5 0 0 1 .254.66l-4 9a.5.5 0 1 1-.914-.406l4-9a.5.5 0 0 1 .66-.254m-5.47 2.333a.5.5 0 0 1 .04.706L2.67 8l1.705 1.918a.5.5 0 0 1-.748.664l-2-2.25a.5.5 0 0 1 0-.664l2-2.25a.5.5 0 0 1 .706-.042m7.335 0a.5.5 0 0 1 .706.042l2 2.25a.5.5 0 0 1 0 .664l-2 2.25a.5.5 0 1 1-.748-.664L13.331 8l-1.705-1.918a.5.5 0 0 1 .042-.706"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M9.803 3.043a.5.5 0 0 1 .254.66l-4 9a.5.5 0 1 1-.914-.406l4-9a.5.5 0 0 1 .66-.254m-5.47 2.333a.5.5 0 0 1 .04.706L2.67 8l1.705 1.918a.5.5 0 0 1-.748.664l-2-2.25a.5.5 0 0 1 0-.664l2-2.25a.5.5 0 0 1 .706-.042m7.335 0a.5.5 0 0 1 .706.042l2 2.25a.5.5 0 0 1 0 .664l-2 2.25a.5.5 0 1 1-.748-.664L13.331 8l-1.705-1.918a.5.5 0 0 1 .042-.706"/></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%2016%2016%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M9.803%203.043a.5.5%200%200%201%20.254.66l-4%209a.5.5%200%201%201-.914-.406l4-9a.5.5%200%200%201%20.66-.254m-5.47%202.333a.5.5%200%200%201%20.04.706L2.67%208l1.705%201.918a.5.5%200%200%201-.748.664l-2-2.25a.5.5%200%200%201%200-.664l2-2.25a.5.5%200%200%201%20.706-.042m7.335%200a.5.5%200%200%201%20.706.042l2%202.25a.5.5%200%200%201%200%20.664l-2%202.25a.5.5%200%201%201-.748-.664L13.331%208l-1.705-1.918a.5.5%200%200%201%20.042-.706%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%2016%2016%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M9.803%203.043a.5.5%200%200%201%20.254.66l-4%209a.5.5%200%201%201-.914-.406l4-9a.5.5%200%200%201%20.66-.254m-5.47%202.333a.5.5%200%200%201%20.04.706L2.67%208l1.705%201.918a.5.5%200%200%201-.748.664l-2-2.25a.5.5%200%200%201%200-.664l2-2.25a.5.5%200%200%201%20.706-.042m7.335%200a.5.5%200%200%201%20.706.042l2%202.25a.5.5%200%200%201%200%20.664l-2%202.25a.5.5%200%201%201-.748-.664L13.331%208l-1.705-1.918a.5.5%200%200%201%20.042-.706%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/codicon/code.svg?color=%231a73e8&size=48