Smartphone icon
A hand-drawn smartphone 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
smartphone
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 SmartphoneIcon.tsx
import { SvgXml } from "react-native-svg";
const SmartphoneIcon = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><g><rect stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x="7.6" y="2.8" width="8.8" height="18.4" rx="2.7"></rect><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="10.8" y1="4.9" x2="13.2" y2="4.9"></line><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="10.6" y1="18.8" x2="13.4" y2="18.8"></line></g></svg>`;
<SvgXml xml={SmartphoneIcon} 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 smartphone.svg
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><g><rect stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x="7.6" y="2.8" width="8.8" height="18.4" rx="2.7"></rect><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="10.8" y1="4.9" x2="13.2" y2="4.9"></line><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="10.6" y1="18.8" x2="13.4" y2="18.8"></line></g></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/smartphone.svg" width="24" height="24" alt="Smartphone" />