Keyboard Off icon
A hand-drawn keyboard off 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
- Interface
- Grid
- 24 × 24
- Strokes
- 1.5 · 2 · 2.5
- Name
keyboard-off
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 KeyboardOffIcon.tsx
import { SvgXml } from "react-native-svg";
const KeyboardOffIcon = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M3.4 8.9C2.8 9.9 2.8 11.3 2.8 13.5L2.8 14.5C2.8 17.1 2.8 18.4 3.7 19.25C4.7 20 6 20 8.8 20L15.2 20C16.6 20 17.6 19.75 18.4 19.75"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M8.8 8L9.7 8M14.6 8L15.2 8C18 8 19.3 8 20.3 8.75C21.2 9.6 21.2 10.9 21.2 13.5L21.2 14.5C21.2 16.1 20.9 17.3 20.9 18.25"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M12 8L12 6.4C12 5.9 12.4 5.5 12.9 5.5L13.6 5.5C14.1 5.5 14.5 5.1 14.5 4.6L14.5 3.6"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M6.6 12.2L7.9 12.25M11.4 12.2L12.7 12.25M16.2 12.2L17.5 12.25"></path><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="7" y1="16.4" x2="17" y2="16.4"></line><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="3.4" y1="3.4" x2="20.6" y2="20.6" stroke-dasharray="24.3"></line></svg>`;
<SvgXml xml={KeyboardOffIcon} 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 keyboard-off.svg
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M3.4 8.9C2.8 9.9 2.8 11.3 2.8 13.5L2.8 14.5C2.8 17.1 2.8 18.4 3.7 19.25C4.7 20 6 20 8.8 20L15.2 20C16.6 20 17.6 19.75 18.4 19.75"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M8.8 8L9.7 8M14.6 8L15.2 8C18 8 19.3 8 20.3 8.75C21.2 9.6 21.2 10.9 21.2 13.5L21.2 14.5C21.2 16.1 20.9 17.3 20.9 18.25"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M12 8L12 6.4C12 5.9 12.4 5.5 12.9 5.5L13.6 5.5C14.1 5.5 14.5 5.1 14.5 4.6L14.5 3.6"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M6.6 12.2L7.9 12.25M11.4 12.2L12.7 12.25M16.2 12.2L17.5 12.25"></path><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="7" y1="16.4" x2="17" y2="16.4"></line><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="3.4" y1="3.4" x2="20.6" y2="20.6" stroke-dasharray="24.3"></line></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/keyboard-off.svg" width="24" height="24" alt="Keyboard Off" />