code block icon
code-block-32-filled from Fluent UI System Icons by Microsoft Corporation · 32 Filled · MIT Free for personal and commercial use.
- Name
- code-block-32-filled
- Set
- Fluent UI System Icons
- Style
- 32 Filled
- Viewbox
- 32×32
- 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 32 32"><path fill="currentColor" d="M3 7.5A4.5 4.5 0 0 1 7.5 3h17A4.5 4.5 0 0 1 29 7.5v17a4.5 4.5 0 0 1-4.5 4.5h-17A4.5 4.5 0 0 1 3 24.5zm10.707 2.793a1 1 0 0 0-1.414 0l-5 5a1 1 0 0 0 0 1.414l5 5a1 1 0 0 0 1.414-1.414L9.414 16l4.293-4.293a1 1 0 0 0 0-1.414m4.586 1.414L22.586 16l-4.293 4.293a1 1 0 0 0 1.414 1.414l5-5a1 1 0 0 0 0-1.414l-5-5a1 1 0 1 0-1.414 1.414"/></svg>
React
import type { SVGProps } from "react";
export function FluentCodeBlock32Filled(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 32 32"><path fill="currentColor" d="M3 7.5A4.5 4.5 0 0 1 7.5 3h17A4.5 4.5 0 0 1 29 7.5v17a4.5 4.5 0 0 1-4.5 4.5h-17A4.5 4.5 0 0 1 3 24.5zm10.707 2.793a1 1 0 0 0-1.414 0l-5 5a1 1 0 0 0 0 1.414l5 5a1 1 0 0 0 1.414-1.414L9.414 16l4.293-4.293a1 1 0 0 0 0-1.414m4.586 1.414L22.586 16l-4.293 4.293a1 1 0 0 0 1.414 1.414l5-5a1 1 0 0 0 0-1.414l-5-5a1 1 0 1 0-1.414 1.414"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 32 32"><path fill="currentColor" d="M3 7.5A4.5 4.5 0 0 1 7.5 3h17A4.5 4.5 0 0 1 29 7.5v17a4.5 4.5 0 0 1-4.5 4.5h-17A4.5 4.5 0 0 1 3 24.5zm10.707 2.793a1 1 0 0 0-1.414 0l-5 5a1 1 0 0 0 0 1.414l5 5a1 1 0 0 0 1.414-1.414L9.414 16l4.293-4.293a1 1 0 0 0 0-1.414m4.586 1.414L22.586 16l-4.293 4.293a1 1 0 0 0 1.414 1.414l5-5a1 1 0 0 0 0-1.414l-5-5a1 1 0 1 0-1.414 1.414"/></svg> </template>
CSS
.icon-code-block-32-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%2032%2032%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M3%207.5A4.5%204.5%200%200%201%207.5%203h17A4.5%204.5%200%200%201%2029%207.5v17a4.5%204.5%200%200%201-4.5%204.5h-17A4.5%204.5%200%200%201%203%2024.5zm10.707%202.793a1%201%200%200%200-1.414%200l-5%205a1%201%200%200%200%200%201.414l5%205a1%201%200%200%200%201.414-1.414L9.414%2016l4.293-4.293a1%201%200%200%200%200-1.414m4.586%201.414L22.586%2016l-4.293%204.293a1%201%200%200%200%201.414%201.414l5-5a1%201%200%200%200%200-1.414l-5-5a1%201%200%201%200-1.414%201.414%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%2032%2032%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M3%207.5A4.5%204.5%200%200%201%207.5%203h17A4.5%204.5%200%200%201%2029%207.5v17a4.5%204.5%200%200%201-4.5%204.5h-17A4.5%204.5%200%200%201%203%2024.5zm10.707%202.793a1%201%200%200%200-1.414%200l-5%205a1%201%200%200%200%200%201.414l5%205a1%201%200%200%200%201.414-1.414L9.414%2016l4.293-4.293a1%201%200%200%200%200-1.414m4.586%201.414L22.586%2016l-4.293%204.293a1%201%200%200%200%201.414%201.414l5-5a1%201%200%200%200%200-1.414l-5-5a1%201%200%201%200-1.414%201.414%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/fluent/code-block-32-filled.svg?color=%231a73e8&size=48