softicons.dev

keyboard icon

Free keyboard SVG icon, MIT licensed. Copy the SVG, install for React/Vue/Angular, or download. Part of the Softicons devices set.

Setup guide
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
     fill="none" stroke="currentColor" stroke-width="2"
     stroke-linecap="round" stroke-linejoin="round">
  <rect x="2" y="6" width="20" height="12" rx="2.5"/>
  <line x1="6" y1="10" x2="6" y2="10.01"/>
  <line x1="10" y1="10" x2="10" y2="10.01"/>
  <line x1="14" y1="10" x2="14" y2="10.01"/>
  <line x1="18" y1="10" x2="18" y2="10.01"/>
  <line x1="8" y1="14" x2="16" y2="14"/>
</svg>
<!-- via the CDN — no build step -->
<img src="https://cdn.softicons.dev/v1/icons/devices/keyboard.svg"
     width="24" height="24" alt="keyboard icon">

<!-- …or paste the raw SVG from the SVG tab -->
import { KeyboardIcon } from "@softicons/react";

export default function Example() {
  return <KeyboardIcon size={24} strokeWidth={2} />;
}
<script setup>
import { KeyboardIcon } from "@softicons/vue";
</script>

<template>
  <KeyboardIcon :size="24" :stroke-width="2" />
</template>
import { KeyboardIconComponent } from "@softicons/angular";

@Component({
  standalone: true,
  imports: [KeyboardIconComponent],
  template: `<keyboard-icon [size]="24" [strokeWidth]="2" />`,
})
export class DemoComponent {}