code block icon
code-block-32 from Fluent UI System Color Icons by Microsoft Corporation · 32 · MIT Free for personal and commercial use.
- Name
- code-block-32
- Set
- Fluent UI System Color Icons
- Style
- 32
- Viewbox
- 32×32
- License
- MIT
5 other variants in Fluent UI System Color Icons
The same icon in other sets
Use the code block icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 32 32"><g fill="none"><path fill="url(#SVGKMP4wbwV)" 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.5z"/><path fill="url(#SVGS7f4RcCe)" d="M13.707 10.293a1 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"/><defs><linearGradient id="SVGKMP4wbwV" x1="9.339" x2="23.598" y1="3" y2="29" gradientUnits="userSpaceOnUse"><stop offset=".028" stop-color="#e67eea"/><stop offset=".438" stop-color="#ad64d7"/><stop offset="1" stop-color="#794dc5"/></linearGradient><linearGradient id="SVGS7f4RcCe" x1="11.268" x2="18.317" y1="10.462" y2="28.708" gradientUnits="userSpaceOnUse"><stop stop-color="#fdfdfd"/><stop offset="1" stop-color="#f9dcfa"/></linearGradient></defs></g></svg>
React
import type { SVGProps } from "react";
export function FluentColorCodeBlock32(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 32 32"><g fill="none"><path fill="url(#SVGKMP4wbwV)" 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.5z"/><path fill="url(#SVGS7f4RcCe)" d="M13.707 10.293a1 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"/><defs><linearGradient id="SVGKMP4wbwV" x1="9.339" x2="23.598" y1="3" y2="29" gradientUnits="userSpaceOnUse"><stop offset=".028" stopColor="#e67eea"/><stop offset=".438" stopColor="#ad64d7"/><stop offset="1" stopColor="#794dc5"/></linearGradient><linearGradient id="SVGS7f4RcCe" x1="11.268" x2="18.317" y1="10.462" y2="28.708" gradientUnits="userSpaceOnUse"><stop stopColor="#fdfdfd"/><stop offset="1" stopColor="#f9dcfa"/></linearGradient></defs></g></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 32 32"><g fill="none"><path fill="url(#SVGKMP4wbwV)" 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.5z"/><path fill="url(#SVGS7f4RcCe)" d="M13.707 10.293a1 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"/><defs><linearGradient id="SVGKMP4wbwV" x1="9.339" x2="23.598" y1="3" y2="29" gradientUnits="userSpaceOnUse"><stop offset=".028" stop-color="#e67eea"/><stop offset=".438" stop-color="#ad64d7"/><stop offset="1" stop-color="#794dc5"/></linearGradient><linearGradient id="SVGS7f4RcCe" x1="11.268" x2="18.317" y1="10.462" y2="28.708" gradientUnits="userSpaceOnUse"><stop stop-color="#fdfdfd"/><stop offset="1" stop-color="#f9dcfa"/></linearGradient></defs></g></svg> </template>
CSS
.icon-code-block-32 {
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%3Cg%20fill%3D%22none%22%3E%3Cpath%20fill%3D%22url(%23SVGKMP4wbwV)%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.5z%22%2F%3E%3Cpath%20fill%3D%22url(%23SVGS7f4RcCe)%22%20d%3D%22M13.707%2010.293a1%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%3Cdefs%3E%3ClinearGradient%20id%3D%22SVGKMP4wbwV%22%20x1%3D%229.339%22%20x2%3D%2223.598%22%20y1%3D%223%22%20y2%3D%2229%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20offset%3D%22.028%22%20stop-color%3D%22%23e67eea%22%2F%3E%3Cstop%20offset%3D%22.438%22%20stop-color%3D%22%23ad64d7%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23794dc5%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22SVGS7f4RcCe%22%20x1%3D%2211.268%22%20x2%3D%2218.317%22%20y1%3D%2210.462%22%20y2%3D%2228.708%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23fdfdfd%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23f9dcfa%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fg%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%3Cg%20fill%3D%22none%22%3E%3Cpath%20fill%3D%22url(%23SVGKMP4wbwV)%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.5z%22%2F%3E%3Cpath%20fill%3D%22url(%23SVGS7f4RcCe)%22%20d%3D%22M13.707%2010.293a1%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%3Cdefs%3E%3ClinearGradient%20id%3D%22SVGKMP4wbwV%22%20x1%3D%229.339%22%20x2%3D%2223.598%22%20y1%3D%223%22%20y2%3D%2229%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20offset%3D%22.028%22%20stop-color%3D%22%23e67eea%22%2F%3E%3Cstop%20offset%3D%22.438%22%20stop-color%3D%22%23ad64d7%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23794dc5%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22SVGS7f4RcCe%22%20x1%3D%2211.268%22%20x2%3D%2218.317%22%20y1%3D%2210.462%22%20y2%3D%2228.708%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23fdfdfd%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23f9dcfa%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/fluent-color/code-block-32.svg?color=%231a73e8&size=48