code-blocks from Material Symbols Light by Google · Regular · Actions · Apache-2.0 Free for personal and commercial use.

Name
code-blocks
Set
Material Symbols Light
Style
Regular
Category
Actions
Viewbox
24×24
License
Apache 2.0

5 other variants in Material Symbols Light

The same icon in other sets

More actions icons from Material Symbols Light

Use the code blocks icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="m9.6 14.908l.708-.714L8.114 12l2.174-2.175l-.707-.713L6.692 12zm4.8 0L17.308 12L14.4 9.092l-.708.714L15.887 12l-2.195 2.194zM5.616 20q-.691 0-1.153-.462T4 18.384V5.616q0-.691.463-1.153T5.616 4h12.769q.69 0 1.153.463T20 5.616v12.769q0 .69-.462 1.153T18.384 20z"/></svg>

React

import type { SVGProps } from "react";

export function MaterialSymbolsLightCodeBlocks(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="m9.6 14.908l.708-.714L8.114 12l2.174-2.175l-.707-.713L6.692 12zm4.8 0L17.308 12L14.4 9.092l-.708.714L15.887 12l-2.195 2.194zM5.616 20q-.691 0-1.153-.462T4 18.384V5.616q0-.691.463-1.153T5.616 4h12.769q.69 0 1.153.463T20 5.616v12.769q0 .69-.462 1.153T18.384 20z"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="m9.6 14.908l.708-.714L8.114 12l2.174-2.175l-.707-.713L6.692 12zm4.8 0L17.308 12L14.4 9.092l-.708.714L15.887 12l-2.195 2.194zM5.616 20q-.691 0-1.153-.462T4 18.384V5.616q0-.691.463-1.153T5.616 4h12.769q.69 0 1.153.463T20 5.616v12.769q0 .69-.462 1.153T18.384 20z"/></svg>
</template>

CSS

.icon-code-blocks {
  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%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22m9.6%2014.908l.708-.714L8.114%2012l2.174-2.175l-.707-.713L6.692%2012zm4.8%200L17.308%2012L14.4%209.092l-.708.714L15.887%2012l-2.195%202.194zM5.616%2020q-.691%200-1.153-.462T4%2018.384V5.616q0-.691.463-1.153T5.616%204h12.769q.69%200%201.153.463T20%205.616v12.769q0%20.69-.462%201.153T18.384%2020z%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%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22m9.6%2014.908l.708-.714L8.114%2012l2.174-2.175l-.707-.713L6.692%2012zm4.8%200L17.308%2012L14.4%209.092l-.708.714L15.887%2012l-2.195%202.194zM5.616%2020q-.691%200-1.153-.462T4%2018.384V5.616q0-.691.463-1.153T5.616%204h12.769q.69%200%201.153.463T20%205.616v12.769q0%20.69-.462%201.153T18.384%2020z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/material-symbols-light/code-blocks.svg?color=%231a73e8&size=48