softicons.dev

cpu icon

Free cpu 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="5" y="5" width="14" height="14" rx="2.5"/>
  <rect x="9" y="9" width="6" height="6" rx="1"/>
  <line x1="9" y1="2" x2="9" y2="5"/>
  <line x1="15" y1="2" x2="15" y2="5"/>
  <line x1="9" y1="19" x2="9" y2="22"/>
  <line x1="15" y1="19" x2="15" y2="22"/>
  <line x1="19" y1="9" x2="22" y2="9"/>
  <line x1="19" y1="15" x2="22" y2="15"/>
  <line x1="2" y1="9" x2="5" y2="9"/>
  <line x1="2" y1="15" x2="5" y2="15"/>
</svg>
<!-- via the CDN — no build step -->
<img src="https://cdn.softicons.dev/v1/icons/devices/cpu.svg"
     width="24" height="24" alt="cpu icon">

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

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

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

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