Pen icon
A hand-drawn pen 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
pen
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 PenIcon.tsx
import { SvgXml } from "react-native-svg";
const PenIcon = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><g transform="translate(-1.25 -0.5)"><g><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M5.4 20.6L6.4 18.2C6.7 17.6 7.2 17.1 7.8 16.7L17.8 6.7C18.6 5.9 19.9 5.9 20.7 6.7C21.5 7.5 21.5 8.8 20.7 9.6L10.7 19.6C10.2 20.1 9.6 20.5 8.9 20.7L5.4 20.6Z"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M14.6 8.2L18.4 4.4"></path></g></g></svg>`;
<SvgXml xml={PenIcon} 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 pen.svg
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><g transform="translate(-1.25 -0.5)"><g><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M5.4 20.6L6.4 18.2C6.7 17.6 7.2 17.1 7.8 16.7L17.8 6.7C18.6 5.9 19.9 5.9 20.7 6.7C21.5 7.5 21.5 8.8 20.7 9.6L10.7 19.6C10.2 20.1 9.6 20.5 8.9 20.7L5.4 20.6Z"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M14.6 8.2L18.4 4.4"></path></g></g></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/pen.svg" width="24" height="24" alt="Pen" />