icons/Majesticons/code-block-lineOpen in browser →

code-block-line · Majesticons

Free SVG code-block-line icon from Majesticons. Rendered at 24×24 in the stroke style and licensed under MIT. Copy directly as SVG, React (JSX), or Vue. Download as SVG or PNG. No login, no attribution required for MIT licensed icons.

code-block-line icon — MajesticonsFree code-block-line SVG icon from Majesticons, stroke style, MIT licensed.

Tags

  • code
  • block
  • line

Code

HTML / SVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 8h5m3 0h2m0 4h-6m-3 0H7m0 4h5m3 0h2M3 8V6a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/></svg>
React
// Run: npx sant-icons get majesticons-code-block-line --format react
export function MajesticonsCodeBlockLine(props) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" {...props}><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 8h5m3 0h2m0 4h-6m-3 0H7m0 4h5m3 0h2M3 8V6a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/></svg>
  );
}
CLI
npx sant-icons get majesticons-code-block-line

Properties

Name
code-block-line
Library
Majesticons
Style
stroke
License
MIT
Version
1.2.5
Identifier
majesticons-code-block-line

Related from Majesticons

The code-block-line icon ships with Majesticons, an open-source icon set licensed under MIT. Search for it as "majesticons code-block-line", "code-block-line svg", or any of its tagged terms (code, block, line). The SVG is normalised to a 24×24 viewBox so you can drop it into any UI framework alongside the other icons here without scaling concerns.

Need this icon in your codebase fast? Install the MCP server for Claude Code (or any MCP-aware AI tool) and ask the model to fetch majesticons-code-block-line directly into your project. No browser context-switch.