Code Block Icon
Customize
Color
Custom colour
Transform
Export size
snippet.html
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 24 24" fill="currentColor">
<path fill="currentColor" fill-rule="evenodd" d="M2 6a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3zm5 1a1 1 0 0 0 0 2h5a1 1 0 1 0 0-2zm8 0a1 1 0 1 0 0 2h2a1 1 0 1 0 0-2zm-8 4a1 1 0 1 0 0 2h1a1 1 0 1 0 0-2zm4 0a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2zm-4 4a1 1 0 1 0 0 2h5a1 1 0 1 0 0-2zm8 0a1 1 0 1 0 0 2h2a1 1 0 1 0 0-2z" clip-rule="evenodd"/>
</svg> Details
The same Code Block icon in 3 other libraries
Only here"Code Block icon" appears in Phosphor, Fluent UI, and Carbon — all filled glyphs, a mix of MIT and Apache 2.0. Compare them below, or add the ones that fit your system to your kit.
More icons from Majesticons
Browse all →This icon is part of the Majesticons open-source project. Licensed under MIT.