Document Code icon
A hand-drawn document code 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
- Files
- Grid
- 24 × 24
- Strokes
- 1.5 · 2 · 2.5
- Name
document-code
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 DocumentCodeIcon.tsx
import { SvgXml } from "react-native-svg";
const DocumentCodeIcon = `<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="M8.2 3.2L15.1 3.2C16.7 3.2 18 4.5 18 6.1L18 17.9C18 19.5 16.7 20.8 15.1 20.8L8.2 20.8C6.6 20.8 5.3 19.5 5.3 17.9L5.3 6.1C5.3 4.5 6.6 3.2 8.2 3.2Z"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M8.1 8.1L13.9 8.1"></path><g><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M11.2 15.5L9.3 17.4L11.2 19.3M15 15.5L16.9 17.4L15 19.3"></path></g></svg>`;
<SvgXml xml={DocumentCodeIcon} 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 document-code.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="M8.2 3.2L15.1 3.2C16.7 3.2 18 4.5 18 6.1L18 17.9C18 19.5 16.7 20.8 15.1 20.8L8.2 20.8C6.6 20.8 5.3 19.5 5.3 17.9L5.3 6.1C5.3 4.5 6.6 3.2 8.2 3.2Z"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M8.1 8.1L13.9 8.1"></path><g><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M11.2 15.5L9.3 17.4L11.2 19.3M15 15.5L16.9 17.4L15 19.3"></path></g></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/document-code.svg" width="24" height="24" alt="Document Code" />