icons/Carbon/code-referenceOpen in browser →

code-reference · Carbon

Free SVG code-reference icon from Carbon. Rendered at 24×24 in the filled style and licensed under Apache-2.0. Copy directly as SVG, React (JSX), or Vue. Download as SVG or PNG. No login, no attribution required for Apache-2.0 licensed icons.

code-reference icon — CarbonFree code-reference SVG icon from Carbon, filled style, Apache-2.0 licensed.

Tags

  • code
  • reference

Code

HTML / SVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><g transform="scale(0.75) translate(0 0)"><path fill="currentColor" d="M4 20v2h4.586L2 28.586L3.414 30L10 23.414V28h2v-8zm26-10l-6-6l-1.414 1.414L27.172 10l-4.586 4.586L24 16zm-16.08 7.484l4.15-15.483l1.932.517l-4.15 15.484zM4 10l6-6l1.414 1.414L6.828 10l4.586 4.586L10 16z"/></g></svg>
React
// Run: npx sant-icons get carbon-code-reference --format react
export function CarbonCodeReference(props) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" {...props}><g transform="scale(0.75) translate(0 0)"><path fill="currentColor" d="M4 20v2h4.586L2 28.586L3.414 30L10 23.414V28h2v-8zm26-10l-6-6l-1.414 1.414L27.172 10l-4.586 4.586L24 16zm-16.08 7.484l4.15-15.483l1.932.517l-4.15 15.484zM4 10l6-6l1.414 1.414L6.828 10l4.586 4.586L10 16z"/></g></svg>
  );
}
CLI
npx sant-icons get carbon-code-reference

Properties

Name
code-reference
Library
Carbon
Style
filled
License
Apache-2.0
Version
1.2.30
Identifier
carbon-code-reference

Related from Carbon

The code-reference icon ships with Carbon, an open-source icon set licensed under Apache-2.0. Search for it as "carbon code-reference", "code-reference svg", or any of its tagged terms (code, reference). 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 carbon-code-reference directly into your project. No browser context-switch.