The Heroicons command line icon visually represents a terminal or console interface, often used in UIs to signify actions related to code execution, system commands, or developer tools.
Common uses
- Button to open a terminal window
- Link to a command-line interface documentation
- Indicator for a command-line based feature
Use it in React
Install
npm i @heroicons/reactImport & render
import { CommandLineIcon } from '@heroicons/react/24/outline';
<CommandLineIcon className="size-6" />Styles
Heroicons ships this icon in 4 styles — each its own import:
24/outline
<CommandLineIcon className="size-6" />24/solid
<CommandLineIcon className="size-6" />20/solid
<CommandLineIcon className="size-6" />16/solid
<CommandLineIcon className="size-6" />Details
- Library
- Heroicons (324 icons)
- License
- MIT
- viewBox
0 0 24 24- Keywords
- commandlineterminalconsolecodecli
FAQ
- What does the command line icon represent?
- It represents a command-line interface (CLI), such as a terminal or console, used for interacting with computer systems via text commands.
- How do I use this icon in React?
- You can import and use it in React with: import { CommandLineIcon } from '@heroicons/react/24/outline'
- What is the license for this icon?
- The Heroicons command line icon is available under the MIT license.
Related icons
The same idea in other libraries, and near matches in Heroicons.
Looking for something else? Search Heroicons and 4 more libraries by description →
The search behind these pages runs as a Claude Code skill. What skills are and how I ship them →