Cpu icon
A hand-drawn cpu icon that animates on its own: an SVG on a 24px grid in thin, regular and bold strokes. Free to download and use in the apps you build (LumioUI License). It takes your text colour through currentColor.
- Category
- Devices
- Grid
- 24 × 24
- Strokes
- 1.5 · 2 · 2.5
- Name
cpu
Stroke weights and sizes
Use it in React Native
Paste the SVG into react-native-svg's SvgXml. The Icon component covers a curated set by name, and Animated Icons plays the motion natively.
TSX CpuIcon.tsx
import { SvgXml } from "react-native-svg";
const CpuIcon = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><rect stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x="4.2" y="4.2" width="15.6" height="15.6" rx="2.6"></rect><g><rect stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x="9" y="9" width="6" height="6" rx="1.6"></rect><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M13.6 10.4L10.4 13.6"></path></g><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M8.4 2.6L8.4 4.2M12 2.6L12 4.2M15.6 2.6L15.6 4.2M8.4 19.8L8.4 21.4M12 19.8L12 21.4M15.6 19.8L15.6 21.4M2.6 8.4L4.2 8.4M2.6 12L4.2 12M2.6 15.6L4.2 15.6M19.8 8.4L21.4 8.4M19.8 12L21.4 12M19.8 15.6L21.4 15.6"></path></svg>`;
<SvgXml xml={CpuIcon} width={24} height={24} color="#111" /> SVG code
The still glyph. The animated version, linked above, plays its motion on its own with SMIL, so it needs no script.
SVG cpu.svg
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><rect stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x="4.2" y="4.2" width="15.6" height="15.6" rx="2.6"></rect><g><rect stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x="9" y="9" width="6" height="6" rx="1.6"></rect><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M13.6 10.4L10.4 13.6"></path></g><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M8.4 2.6L8.4 4.2M12 2.6L12 4.2M15.6 2.6L15.6 4.2M8.4 19.8L8.4 21.4M12 19.8L12 21.4M15.6 19.8L15.6 21.4M2.6 8.4L4.2 8.4M2.6 12L4.2 12M2.6 15.6L4.2 15.6M19.8 8.4L21.4 8.4M19.8 12L21.4 12M19.8 15.6L21.4 15.6"></path></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/cpu.svg" width="24" height="24" alt="Cpu" />