Keyboard Command
The keyboard-command icon represents the Command key on a Mac keyboard, which is used to access various shortcuts and functions.
Exports at 24 × 24 px
Code
Keyboard Command in your framework
In any framework. Customize it above, and the code follows.
export const KeyboardCommandIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" {...props}>
<path fill="currentColor" fillRule="evenodd" d="M7.635 7.022v-.09a8.7 8.7 0 0 0-1.309-3.095A3 3 0 0 0 4.68 2.678a2.88 2.88 0 0 0-1.997.29a2.48 2.48 0 0 0-1.269 1.498a2.6 2.6 0 0 0-.12.889a1 1 0 0 0 .25.669c.317.29.707.487 1.129.569c.723.15 1.458.243 2.196.28c.94.15 1.858.15 2.767.15m7.27.22a51 51 0 0 1-4.994.51h-.998c.266 1.525.34 3.078.22 4.623a20 20 0 0 1-.44 2.946h1.538c.45 0 .619 0 .919.08l2.566.299h1.708q-.09-.36-.15-.719a30 30 0 0 1-.36-5.522c-.06-.65-.06-1.438-.01-2.197zm1.817 9.766q.222.627.51 1.228a6.6 6.6 0 0 0 1.717 2.677a2.55 2.55 0 0 0 1.847.34l.839-.17c1.048-.44 1.398-1.119 1.208-1.798a2.77 2.77 0 0 0-1.907-1.678a13.5 13.5 0 0 0-2.147-.469a16 16 0 0 0-2.067-.13m-9.607-.43a10.9 10.9 0 0 0-4.364.74a2.516 2.516 0 0 0-1.448 2.886a1.58 1.58 0 0 0 1.728 1.547a3.54 3.54 0 0 0 2.586-1.448q.322-.471.54-.998c.24-.55.42-1.118.629-1.698c.12-.33.24-.679.33-1.018zm7.9-10.005v-.22c.082-.737.253-1.46.509-2.157A5.25 5.25 0 0 1 18.649 1.2a2.74 2.74 0 0 1 2.896.73a2.67 2.67 0 0 1 .909 2.616a2.3 2.3 0 0 1-2.447 1.358a.37.37 0 0 1 0-.73c.929 0 1.538-.319 1.708-.848a2 2 0 0 0-.71-1.847a2.12 2.12 0 0 0-2.665-.27a4.54 4.54 0 0 0-1.998 2.287a8.7 8.7 0 0 0-.42 1.897a19 19 0 0 1 2.088-.57a.32.32 0 0 1 .08.63c-.64.09-1.258.38-2.107.6h-.15v2.476c-.039 1.79.095 3.578.4 5.342c.06.31.13.62.21.919h.219q1.189.01 2.367.17c.79.107 1.568.284 2.326.529a3.86 3.86 0 0 1 2.547 2.516c.32 1.129-.1 2.367-1.848 3.096q-.238.09-.489.14c-.21 0-.43.06-.64.09c-.9.157-1.826-.04-2.585-.55a7.7 7.7 0 0 1-1.998-3.095q-.39-.814-.659-1.678h-2.077l-2.656-.29l-2.137-.1h-.49c-.13.48-.269.95-.439 1.429s-.39 1.218-.639 1.787q-.271.614-.649 1.169a4.67 4.67 0 0 1-4.304 1.917a2.706 2.706 0 0 1-2.197-2.527a3.615 3.615 0 0 1 2.137-4.164a13 13 0 0 1 5.223-.858c.254-.983.427-1.985.52-2.996c.14-1.51.076-3.031-.19-4.524c-1 0-1.998 0-2.996-.13a16 16 0 0 1-2.317-.27a3.13 3.13 0 0 1-1.548-.818a1.77 1.77 0 0 1-.47-.999a3.7 3.7 0 0 1 .1-1.418A3.45 3.45 0 0 1 2.253 2.14a3.78 3.78 0 0 1 2.626-.41c.897.233 1.68.778 2.207 1.539a9.3 9.3 0 0 1 1.538 3.445l.08.31h1.168c1.648-.06 3.306-.22 4.993-.45z" clipRule="evenodd"/>
</svg>
);Other libraries
Keyboard Command in 1 more libraries
Each library draws it its own way. Open one to compare.
Freehand free icons
More like it
Icons that share its tags, in the same style.
Search Freehand free icons
Skip the copy and paste. With Pro, your AI agent finds and installs any Freehand free icons icon from a prompt.
Get ProTags
Browse by tag
Keyboard Command is tagged UI, text, edit and 4 more. Related tags follow; each opens its icons from every library.
Pricing
Freehand free icons MCP, with Pro
Ask for Keyboard Command or any of 1,000 Freehand free icons icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
What the Keyboard Command icon means and where it's used, then how to install, style, label and license it.
The keyboard-command icon represents the Command key on a Mac keyboard, which is used to access various shortcuts and functions. This key is unique to Mac computers and is often used in combination with other keys to perform specific actions. The Command key has become an essential part of the Mac user experience.
In software applications and digital interfaces, the Command key is widely used as a modifier key to access shortcuts and special functions. For instance, Command+C is used to copy text or items, while Command+V is used to paste. The Command key is also used in various keyboard shortcuts, such as Command+Tab to switch between open applications.
From a UX perspective, the keyboard-command icon effectively communicates the presence of a keyboard shortcut or a special key function, allowing users to quickly access additional features or functions. The icon's clear representation of the Command key enables users to understand its purpose and use it efficiently.
Keyboard Command is one of 1,000 icons in Freehand free icons, made by Streamline and released under CC BY 4.0. It is drawn on a 24 × 24 grid.
Sign in (it's free), then open Get icon, Install with shadcn CLI, and pick your package manager to copy the command. It adds KeyboardCommandIcon to components/icons/streamline-freehand-keyboard-command.tsx: one file, a size prop (24 by default) and every SVG prop, with no icon package.
Copy it as React (from Get icon, or the Code section): a typed KeyboardCommandIcon component you paste into your project, with no package to install. Only the icons you import reach your bundle. It works in Next.js and any React app.
Open Get icon, then Copy as code, and pick Vue, Svelte, Angular, Solid or Preact; the Code section shows each one too. Every version is one self-contained component with the SVG inside, and SVG and data URL copies are there for plain HTML and CSS.
With Pro, the shadcn.io MCP server lets Claude Code, Cursor or any MCP client find the Keyboard Command icon, or any of 1,000 Freehand free icons icons, and install it from a prompt.
It's drawn in currentColor, so it takes the text color wherever you use it: a class like text-primary recolors it. To bake a color in, set one in Customize before you copy.
Set width and height on the component, or a class like size-6. It's drawn on a 24 × 24 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It follows the text color, so with text-foreground (or any theme token) it changes with your light and dark themes. The icon is a vector, so it needs no separate dark asset.
Next to a visible label it's decoration: add aria-hidden="true" so screen readers skip it. Standing alone, as in an icon button, give the button a name instead, like aria-label="Keyboard Command", so screen readers say what it does.
Yes. KeyboardCommandIcon passes every SVG prop to the svg element, so <KeyboardCommandIcon aria-hidden="true" /> works, and so do role="img" with aria-label, or a title child, when it carries meaning on its own.
Yes. Open Get icon, then Download file: SVG for code or design tools like Figma; PNG, WebP or JPEG at 512px; or an ICO favicon with 16, 32 and 48px inside. Each one uses what you set in Customize.
Yes, with credit: CC BY 4.0 asks you to credit the author (Streamline) where you use the icons. The full terms are in the license, linked on this page.
Yes. CC BY 4.0 asks you to credit the author where you use the icons, for example "Icons by Streamline, CC BY 4.0" on an about or credits page.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
1 other library draws an icon called Keyboard Command. The Other libraries section on this page shows each one, so you can compare them and open the one that fits your style.
Its tags are UI, text, edit, input, form and keyboard. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Keyboard Command in another set.
4.9 out of 5 from 150+ developers
Install Keyboard Command from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro