code icon
code from Radix Icons by WorkOS · Outline · MIT Free for personal and commercial use.
- Name
- code
- Set
- Radix Icons
- Style
- Outline
- Viewbox
- 15×15
- License
- MIT
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 Iconscode-16Fluent UI System Color Iconscodecss.ggcodeHuge IconscodeHumbleiconscodeIconParkcodeIconPark OutlinecodeIconoircodeIonIconscodeJam IconscodeLine AwesomecodeLucidecodeMajesticonscodeMaterial Symbols
Use the code icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 15 15"><path fill="currentColor" d="M9.036 2.314a.5.5 0 1 1 .928.371l-4 10a.5.5 0 1 1-.928-.37zm2.11 2.832a.5.5 0 0 1 .63-.064l.077.064l2 2l.065.078a.5.5 0 0 1-.065.63l-2 2a.5.5 0 1 1-.707-.708L12.793 7.5l-1.647-1.647l-.064-.078a.5.5 0 0 1 .064-.629m-8 0a.5.5 0 0 1 .707.707L2.207 7.5l1.646 1.646l.065.078a.5.5 0 0 1-.693.694l-.079-.065l-2-2a.5.5 0 0 1 0-.707z"/></svg>
React
import type { SVGProps } from "react";
export function RadixIconsCode(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 15 15"><path fill="currentColor" d="M9.036 2.314a.5.5 0 1 1 .928.371l-4 10a.5.5 0 1 1-.928-.37zm2.11 2.832a.5.5 0 0 1 .63-.064l.077.064l2 2l.065.078a.5.5 0 0 1-.065.63l-2 2a.5.5 0 1 1-.707-.708L12.793 7.5l-1.647-1.647l-.064-.078a.5.5 0 0 1 .064-.629m-8 0a.5.5 0 0 1 .707.707L2.207 7.5l1.646 1.646l.065.078a.5.5 0 0 1-.693.694l-.079-.065l-2-2a.5.5 0 0 1 0-.707z"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 15 15"><path fill="currentColor" d="M9.036 2.314a.5.5 0 1 1 .928.371l-4 10a.5.5 0 1 1-.928-.37zm2.11 2.832a.5.5 0 0 1 .63-.064l.077.064l2 2l.065.078a.5.5 0 0 1-.065.63l-2 2a.5.5 0 1 1-.707-.708L12.793 7.5l-1.647-1.647l-.064-.078a.5.5 0 0 1 .064-.629m-8 0a.5.5 0 0 1 .707.707L2.207 7.5l1.646 1.646l.065.078a.5.5 0 0 1-.693.694l-.079-.065l-2-2a.5.5 0 0 1 0-.707z"/></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%2015%2015%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M9.036%202.314a.5.5%200%201%201%20.928.371l-4%2010a.5.5%200%201%201-.928-.37zm2.11%202.832a.5.5%200%200%201%20.63-.064l.077.064l2%202l.065.078a.5.5%200%200%201-.065.63l-2%202a.5.5%200%201%201-.707-.708L12.793%207.5l-1.647-1.647l-.064-.078a.5.5%200%200%201%20.064-.629m-8%200a.5.5%200%200%201%20.707.707L2.207%207.5l1.646%201.646l.065.078a.5.5%200%200%201-.693.694l-.079-.065l-2-2a.5.5%200%200%201%200-.707z%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%2015%2015%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M9.036%202.314a.5.5%200%201%201%20.928.371l-4%2010a.5.5%200%201%201-.928-.37zm2.11%202.832a.5.5%200%200%201%20.63-.064l.077.064l2%202l.065.078a.5.5%200%200%201-.065.63l-2%202a.5.5%200%201%201-.707-.708L12.793%207.5l-1.647-1.647l-.064-.078a.5.5%200%200%201%20.064-.629m-8%200a.5.5%200%200%201%20.707.707L2.207%207.5l1.646%201.646l.065.078a.5.5%200%200%201-.693.694l-.079-.065l-2-2a.5.5%200%200%201%200-.707z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/radix-icons/code.svg?color=%231a73e8&size=48