code text icon
code-text-20-regular from Fluent UI System Icons by Microsoft Corporation · 20 Regular · MIT Free for personal and commercial use.
- Name
- code-text-20-regular
- Set
- Fluent UI System Icons
- Style
- 20 Regular
- Viewbox
- 20×20
- License
- MIT
3 other variants in Fluent UI System Icons
Related icons in Fluent UI System Icons
code-block-16-filledcode-block-edit-16-filledcode-circle-20-filledcode-cs-16-filledcode-cs-rectangle-16-filledcode-fs-16-filledcode-fs-rectangle-16-filledcode-js-16-filledcode-js-rectangle-16-filledcode-off-16-filledcode-py-16-filledcode-py-rectangle-16-filledcode-rb-16-filledcode-rb-rectangle-16-filledcode-text-edit-20-filledcode-text-off-16-filledcode-ts-16-filledcode-ts-rectangle-16-filledcode-vb-16-filledcode-vb-rectangle-16-filled
Use the code text icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="currentColor" d="M2.5 5a.5.5 0 0 0 0 1H8a.5.5 0 0 0 0-1zm3 3a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1zM4 11.5a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1h-10a.5.5 0 0 1-.5-.5M2.5 14a.5.5 0 0 0 0 1H11a.5.5 0 0 0 0-1zm10-5.5A.5.5 0 0 1 13 8h3.5a.5.5 0 0 1 0 1H13a.5.5 0 0 1-.5-.5m-2-3.5a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1z"/></svg>
React
import type { SVGProps } from "react";
export function FluentCodeText20Regular(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="currentColor" d="M2.5 5a.5.5 0 0 0 0 1H8a.5.5 0 0 0 0-1zm3 3a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1zM4 11.5a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1h-10a.5.5 0 0 1-.5-.5M2.5 14a.5.5 0 0 0 0 1H11a.5.5 0 0 0 0-1zm10-5.5A.5.5 0 0 1 13 8h3.5a.5.5 0 0 1 0 1H13a.5.5 0 0 1-.5-.5m-2-3.5a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1z"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="currentColor" d="M2.5 5a.5.5 0 0 0 0 1H8a.5.5 0 0 0 0-1zm3 3a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1zM4 11.5a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1h-10a.5.5 0 0 1-.5-.5M2.5 14a.5.5 0 0 0 0 1H11a.5.5 0 0 0 0-1zm10-5.5A.5.5 0 0 1 13 8h3.5a.5.5 0 0 1 0 1H13a.5.5 0 0 1-.5-.5m-2-3.5a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1z"/></svg> </template>
CSS
.icon-code-text-20-regular {
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%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M2.5%205a.5.5%200%200%200%200%201H8a.5.5%200%200%200%200-1zm3%203a.5.5%200%200%200%200%201h5a.5.5%200%200%200%200-1zM4%2011.5a.5.5%200%200%201%20.5-.5h10a.5.5%200%200%201%200%201h-10a.5.5%200%200%201-.5-.5M2.5%2014a.5.5%200%200%200%200%201H11a.5.5%200%200%200%200-1zm10-5.5A.5.5%200%200%201%2013%208h3.5a.5.5%200%200%201%200%201H13a.5.5%200%200%201-.5-.5m-2-3.5a.5.5%200%200%200%200%201h7a.5.5%200%200%200%200-1z%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%2020%2020%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M2.5%205a.5.5%200%200%200%200%201H8a.5.5%200%200%200%200-1zm3%203a.5.5%200%200%200%200%201h5a.5.5%200%200%200%200-1zM4%2011.5a.5.5%200%200%201%20.5-.5h10a.5.5%200%200%201%200%201h-10a.5.5%200%200%201-.5-.5M2.5%2014a.5.5%200%200%200%200%201H11a.5.5%200%200%200%200-1zm10-5.5A.5.5%200%200%201%2013%208h3.5a.5.5%200%200%201%200%201H13a.5.5%200%200%201-.5-.5m-2-3.5a.5.5%200%200%200%200%201h7a.5.5%200%200%200%200-1z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/fluent/code-text-20-regular.svg?color=%231a73e8&size=48