Keyboard Line icons from 3 libraries
Every icon below is the same "keyboard line" concept rendered by a different library. Click any tile to open it in the editor, set a custom size and colour, and download SVG or PNG.
Compare 3 free keyboard line icons from 3 open-source libraries and pick the one that matches your design system. Every icon on this page downloads as an editable SVG or a transparent PNG at any size from 16px to 512px — no login, no account, no attribution required.
All 3 free keyboard line icons
Every icon below is the same "keyboard line" concept rendered by a different library. Click any tile to open it in the editor, set a custom size and colour, and download SVG or PNG.
Library comparison
| Library | Style | License | Keyboard Line icon |
|---|---|---|---|
| Mingcute | Outline | Apache 2.0 | Keyboard Line |
| Remix Icons | Fill | Apache 2.0 | Keyboard Line |
| Solar Icons | Duotone | CC BY 4.0 | Keyboard Line Duotone |
Outline sets such as Lucide, Tabler and Feather stay legible at 16px in dense interfaces. Material Symbols and Bootstrap Icons give you matched outline and filled pairs. Phosphor, Solar and Fluent add duotone, bold and weight-graded variants when you need more visual hierarchy.
Use this icon in your project
Paste this straight into HTML or JSX. It inherits currentColor, so it follows your theme.
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" role="img" aria-label="keyboard-line icon"><g fill="none"><path d="m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z"/><path fill="currentColor" d="M20 4a2 2 0 0 1 1.995 1.85L22 6v12a2 2 0 0 1-1.85 1.995L20 20H4a2 2 0 0 1-1.995-1.85L2 18V6a2 2 0 0 1 1.85-1.995L4 4zm0 2H4v12h16zm-3 8a1 1 0 0 1 .117 1.993L17 16H7a1 1 0 0 1-.117-1.993L7 14zm-9-3a1 1 0 1 1 0 2H7a1 1 0 1 1 0-2zm4.5 0a1 1 0 0 1 .117 1.993L12.5 13h-1a1 1 0 0 1-.117-1.993L11.5 11zm4.5 0a1 1 0 1 1 0 2h-1a1 1 0 1 1 0-2zM8 8a1 1 0 0 1 .117 1.993L8 10H7a1 1 0 0 1-.117-1.993L7 8zm4.5 0a1 1 0 1 1 0 2h-1a1 1 0 1 1 0-2zM17 8a1 1 0 0 1 .117 1.993L17 10h-1a1 1 0 0 1-.117-1.993L16 8z"/></g></svg>
Install the package for the library you picked, then import the component.
npm install @mingcute/icon-react
import { KeyboardLine } from "@mingcute/icon-react";
export function Example() {
return <KeyboardLine size={24} />;
}
Choosing the right keyboard line icon
A keyboard line icon has to read instantly at whatever size your interface uses. Below 20px, prefer outline artwork with a consistent stroke weight — heavy filled glyphs turn into blobs. For navigation bars and empty states above 32px, filled or duotone versions carry more visual weight and scan better.
Keep stroke weight consistent across every icon in a view. Mixing a 1.5px Lucide glyph with a 2px Tabler glyph in the same toolbar is the most common reason icon sets look unprofessional.
Decorative icons need aria-hidden="true" so screen readers skip them. If the keyboard line icon is the only thing labelling a control — an icon-only button, for example — give the button an aria-label such as "Keyboard Line" and leave the SVG itself hidden.
Never rely on the icon alone to convey state. Pair it with a tooltip or visible text wherever the meaning is not already obvious from context.
Related icon searches
Libraries on this page
Frequently asked questions
IconStash indexes 3 free keyboard line icons from 3 open-source libraries, including Mingcute, Remix, Solar. Choose one on this page, set the exact size and colour, then copy the SVG markup or download a transparent PNG. No account and no login are required.
Yes. Every icon on this page comes from an open-source library published under a permissive licence (MIT, Apache-2.0, ISC, CC BY 4.0 and similar), all of which allow commercial use. The comparison table above lists the licence for each library so you can confirm the exact terms before shipping.
Yes. Open any icon on this page, set an exact pixel size between 16px and 512px, choose any colour, and download a transparent PNG. Because every icon here is a vector, the exported PNG stays sharp at any resolution — IconStash also offers a ZIP pack containing 16, 24, 32, 48, 64, 128, 256 and 512px files.
It depends on the design system you are matching. Outline libraries such as Lucide, Tabler and Feather suit dense product interfaces; Material Symbols and Bootstrap Icons ship matched outline and filled variants of the same glyph; Phosphor and Solar add duotone, bold and broken weights. The grid above shows all 3 options side by side so you can judge them at real size.
Copy the SVG markup for any icon on this page and paste it directly into JSX, or install the official npm package for the library you picked — lucide-react, @tabler/icons-react, @phosphor-icons/react, react-bootstrap-icons and react-icons are the most common. Both approaches are shown in the code samples above.
All 3 icons on this page are vector artwork, so they scale cleanly to any size. The libraries represented here render the keyboard line concept in outline, fill, duotone styles, and IconStash can export PNGs at 16, 24, 32, 48, 64, 128, 256 or 512px, or any custom value in between.
Yes. Icons are exported using currentColor, so they inherit the CSS colour of their parent element and follow your theme automatically. You can also pick an exact hex colour in the IconStash editor before downloading, or override the colour with a CSS rule such as .icon { color: #C1DD2D; }.