code block icon
code-block-16-filled from Fluent UI System Icons by Microsoft Corporation · 16 Filled · MIT Free for personal and commercial use.
- Name
- code-block-16-filled
- Set
- Fluent UI System Icons
- Style
- 16 Filled
- Viewbox
- 16×16
- License
- MIT
11 other variants in Fluent UI System Icons
The same icon in other sets
Related icons in Fluent UI System Icons
code-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-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 block icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M4.5 2A2.5 2.5 0 0 0 2 4.5v7A2.5 2.5 0 0 0 4.5 14h7a2.5 2.5 0 0 0 2.5-2.5v-7A2.5 2.5 0 0 0 11.5 2zm5.354 3.646l2 2a.5.5 0 0 1 0 .708l-2 2a.5.5 0 0 1-.708-.708L10.793 8L9.146 6.354a.5.5 0 1 1 .708-.708m-3 .708L5.207 8l1.647 1.646a.5.5 0 0 1-.708.708l-2-2a.5.5 0 0 1 0-.708l2-2a.5.5 0 0 1 .708.708"/></svg>
React
import type { SVGProps } from "react";
export function FluentCodeBlock16Filled(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="M4.5 2A2.5 2.5 0 0 0 2 4.5v7A2.5 2.5 0 0 0 4.5 14h7a2.5 2.5 0 0 0 2.5-2.5v-7A2.5 2.5 0 0 0 11.5 2zm5.354 3.646l2 2a.5.5 0 0 1 0 .708l-2 2a.5.5 0 0 1-.708-.708L10.793 8L9.146 6.354a.5.5 0 1 1 .708-.708m-3 .708L5.207 8l1.647 1.646a.5.5 0 0 1-.708.708l-2-2a.5.5 0 0 1 0-.708l2-2a.5.5 0 0 1 .708.708"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M4.5 2A2.5 2.5 0 0 0 2 4.5v7A2.5 2.5 0 0 0 4.5 14h7a2.5 2.5 0 0 0 2.5-2.5v-7A2.5 2.5 0 0 0 11.5 2zm5.354 3.646l2 2a.5.5 0 0 1 0 .708l-2 2a.5.5 0 0 1-.708-.708L10.793 8L9.146 6.354a.5.5 0 1 1 .708-.708m-3 .708L5.207 8l1.647 1.646a.5.5 0 0 1-.708.708l-2-2a.5.5 0 0 1 0-.708l2-2a.5.5 0 0 1 .708.708"/></svg> </template>
CSS
.icon-code-block-16-filled {
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%22M4.5%202A2.5%202.5%200%200%200%202%204.5v7A2.5%202.5%200%200%200%204.5%2014h7a2.5%202.5%200%200%200%202.5-2.5v-7A2.5%202.5%200%200%200%2011.5%202zm5.354%203.646l2%202a.5.5%200%200%201%200%20.708l-2%202a.5.5%200%200%201-.708-.708L10.793%208L9.146%206.354a.5.5%200%201%201%20.708-.708m-3%20.708L5.207%208l1.647%201.646a.5.5%200%200%201-.708.708l-2-2a.5.5%200%200%201%200-.708l2-2a.5.5%200%200%201%20.708.708%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%22M4.5%202A2.5%202.5%200%200%200%202%204.5v7A2.5%202.5%200%200%200%204.5%2014h7a2.5%202.5%200%200%200%202.5-2.5v-7A2.5%202.5%200%200%200%2011.5%202zm5.354%203.646l2%202a.5.5%200%200%201%200%20.708l-2%202a.5.5%200%200%201-.708-.708L10.793%208L9.146%206.354a.5.5%200%201%201%20.708-.708m-3%20.708L5.207%208l1.647%201.646a.5.5%200%200%201-.708.708l-2-2a.5.5%200%200%201%200-.708l2-2a.5.5%200%200%201%20.708.708%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/fluent/code-block-16-filled.svg?color=%231a73e8&size=48