gentleface

Gentleface › Development › terminal

terminal icon

Terminal: terminal, console, command line, shell. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M14.414 12.414C14.219 12.609 13.993 12.758 13.736 12.86C13.5 12.953 13.254 13 13 13L3 13C2.746 13 2.5 12.953 2.264 12.86C2.007 12.758 1.781 12.609 1.586 12.414C1.391 12.219 1.242 11.993 1.14 11.736C1.047 11.5 1 11.254 1 11L1 4C1 3.746 1.047 3.5 1.14 3.264C1.242 3.007 1.391 2.781 1.586 2.586C1.781 2.391 2.007 2.242 2.264 2.14C2.5 2.047 2.746 2 3 2L13 2C13.254 2 13.5 2.047 13.736 2.14C13.993 2.242 14.219 2.391 14.414 2.586C14.609 2.781 14.758 3.007 14.86 3.264C14.953 3.5 15 3.746 15 4L15 11C15 11.254 14.953 11.5 14.86 11.736C14.758 11.993 14.609 12.219 14.414 12.414ZM2.293 11.707C2.488 11.902 2.724 12 3 12L13 12C13.276 12 13.512 11.902 13.707 11.707C13.902 11.512 14 11.276 14 11L14 4C14 3.724 13.902 3.488 13.707 3.293C13.512 3.098 13.276 3 13 3L3 3C2.724 3 2.488 3.098 2.293 3.293C2.098 3.488 2 3.724 2 4L2 11C2 11.276 2.098 11.512 2.293 11.707ZM4.5 10C4.362 10 4.244 9.951 4.146 9.854C4.047 9.754 3.997 9.636 3.997 9.5C3.997 9.364 4.047 9.246 4.146 9.146L5.146 8.146C5.325 7.968 5.414 7.752 5.414 7.5C5.414 7.248 5.325 7.032 5.146 6.854L4.146 5.854C4.047 5.754 3.997 5.636 3.997 5.5C3.997 5.364 4.047 5.246 4.146 5.146C4.246 5.047 4.364 4.997 4.5 4.997C4.636 4.997 4.754 5.047 4.854 5.146L5.854 6.146C6.026 6.319 6.16 6.516 6.257 6.74C6.362 6.982 6.414 7.236 6.414 7.5C6.414 7.764 6.362 8.018 6.257 8.26C6.16 8.484 6.026 8.681 5.854 8.854L4.854 9.854C4.756 9.951 4.638 10 4.5 10ZM11.856 9.144C11.952 9.241 12 9.359 12 9.5C12 9.641 11.952 9.759 11.856 9.856C11.759 9.952 11.641 10 11.5 10L8.5 10C8.359 10 8.241 9.952 8.144 9.856C8.048 9.759 8 9.641 8 9.5C8 9.359 8.048 9.241 8.144 9.144C8.241 9.048 8.359 9 8.5 9L11.5 9C11.641 9 11.759 9.048 11.856 9.144Z"/></svg>
React
// Gentleface "terminal" (line-round), MIT. https://gentleface.com/icons/terminal
import type { SVGProps } from 'react';

export function TerminalIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M14.414 12.414C14.219 12.609 13.993 12.758 13.736 12.86C13.5 12.953 13.254 13 13 13L3 13C2.746 13 2.5 12.953 2.264 12.86C2.007 12.758 1.781 12.609 1.586 12.414C1.391 12.219 1.242 11.993 1.14 11.736C1.047 11.5 1 11.254 1 11L1 4C1 3.746 1.047 3.5 1.14 3.264C1.242 3.007 1.391 2.781 1.586 2.586C1.781 2.391 2.007 2.242 2.264 2.14C2.5 2.047 2.746 2 3 2L13 2C13.254 2 13.5 2.047 13.736 2.14C13.993 2.242 14.219 2.391 14.414 2.586C14.609 2.781 14.758 3.007 14.86 3.264C14.953 3.5 15 3.746 15 4L15 11C15 11.254 14.953 11.5 14.86 11.736C14.758 11.993 14.609 12.219 14.414 12.414ZM2.293 11.707C2.488 11.902 2.724 12 3 12L13 12C13.276 12 13.512 11.902 13.707 11.707C13.902 11.512 14 11.276 14 11L14 4C14 3.724 13.902 3.488 13.707 3.293C13.512 3.098 13.276 3 13 3L3 3C2.724 3 2.488 3.098 2.293 3.293C2.098 3.488 2 3.724 2 4L2 11C2 11.276 2.098 11.512 2.293 11.707ZM4.5 10C4.362 10 4.244 9.951 4.146 9.854C4.047 9.754 3.997 9.636 3.997 9.5C3.997 9.364 4.047 9.246 4.146 9.146L5.146 8.146C5.325 7.968 5.414 7.752 5.414 7.5C5.414 7.248 5.325 7.032 5.146 6.854L4.146 5.854C4.047 5.754 3.997 5.636 3.997 5.5C3.997 5.364 4.047 5.246 4.146 5.146C4.246 5.047 4.364 4.997 4.5 4.997C4.636 4.997 4.754 5.047 4.854 5.146L5.854 6.146C6.026 6.319 6.16 6.516 6.257 6.74C6.362 6.982 6.414 7.236 6.414 7.5C6.414 7.764 6.362 8.018 6.257 8.26C6.16 8.484 6.026 8.681 5.854 8.854L4.854 9.854C4.756 9.951 4.638 10 4.5 10ZM11.856 9.144C11.952 9.241 12 9.359 12 9.5C12 9.641 11.952 9.759 11.856 9.856C11.759 9.952 11.641 10 11.5 10L8.5 10C8.359 10 8.241 9.952 8.144 9.856C8.048 9.759 8 9.641 8 9.5C8 9.359 8.048 9.241 8.144 9.144C8.241 9.048 8.359 9 8.5 9L11.5 9C11.641 9 11.759 9.048 11.856 9.144Z" />
    </svg>
  );
}
Vue
Vue: see /icons/terminal.md
Svelte
Svelte: see /icons/terminal.md
HTML img
HTML img: see /icons/terminal.md
CSS
CSS: see /icons/terminal.md
Data URL
Data URL: see /icons/terminal.md
Sprite
Sprite: see /icons/terminal.md
SwiftUI
SwiftUI: see /icons/terminal.md
Compose
Compose: see /icons/terminal.md
Android XML
Android XML: see /icons/terminal.md
Flutter
Flutter: see /icons/terminal.md

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

Meaning

Use it for
terminal, console, command line, shell, cli, command prompt
Alternatives
  • command-palette: the in-app command palette, not a shell (command-palette)
  • code: source code (code)
Also fits
  • code: a shell or command line (terminal)
Not for
  • command palette (use command-palette): terminal is the shell or the command line, not the Cmd-K launcher
  • prompt (use input-text-sparkle): terminal keeps the command-line prompt
  • command (use command): terminal owns the shell, not the ⌘ key
Tags
terminal, console, prompt, shell, command, cli, bash, developer
Category
Development
Component name
TerminalIcon
History
  • added

Family 1

More development icons

For agents

Metadata: /icons/terminal.json · Markdown: /icons/terminal.md · SVG: https://gentleface.com/svg/{style}/16/terminal.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/terminal.png

Feedback