icons/Heroicons/command-lineOpen in browser →

command-line · Heroicons

Free SVG command-line icon from Heroicons. 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.

command-line icon — HeroiconsFree command-line SVG icon from Heroicons, stroke style, MIT licensed.

Tags

  • command
  • line
  • outline

Code

HTML / SVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path stroke-linecap="round" stroke-linejoin="round" d="m6.75 7.5 3 2.25-3 2.25m4.5 0h3m-9 8.25h13.5A2.25 2.25 0 0 0 21 18V6a2.25 2.25 0 0 0-2.25-2.25H5.25A2.25 2.25 0 0 0 3 6v12a2.25 2.25 0 0 0 2.25 2.25Z"/></svg>
React
// Run: npx sant-icons get heroicons-command-line --format react
export function HeroiconsCommandLine(props) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" {...props}><path stroke-linecap="round" stroke-linejoin="round" d="m6.75 7.5 3 2.25-3 2.25m4.5 0h3m-9 8.25h13.5A2.25 2.25 0 0 0 21 18V6a2.25 2.25 0 0 0-2.25-2.25H5.25A2.25 2.25 0 0 0 3 6v12a2.25 2.25 0 0 0 2.25 2.25Z"/></svg>
  );
}
CLI
npx sant-icons get heroicons-command-line

Properties

Name
command-line
Library
Heroicons
Style
stroke
License
MIT
Version
2.2.0
Identifier
heroicons-command-line

command-line in other libraries

Related from Heroicons

The command-line icon ships with Heroicons, an open-source icon set licensed under MIT. Search for it as "heroicons command-line", "command-line svg", or any of its tagged terms (command, line, outline). 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 heroicons-command-line directly into your project. No browser context-switch.