File Type icon
A hand-drawn file type 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
file-type
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 FileTypeIcon.tsx
import { SvgXml } from "react-native-svg";
const FileTypeIcon = `<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="M7.7 3L12.6 3C13.1 3.1 13.6 3.3 14 3.7L18.3 8C18.7 8.5 19 9 19 9.6L19 18.3C19 19.8 17.8 21 16.3 21L7.7 21C6.2 21 5 19.8 5 18.3L5 5.7C5 4.2 6.2 3 7.7 3Z"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M13.5 3.2L13.5 6.1C13.5 7.9 15 9.3 16.8 9.3L19 9.3"></path><g><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M9.8 12.8L9.8 12.3C9.8 12 10 11.8 10.3 11.8L13.7 11.8C14 11.8 14.2 12 14.2 12.3L14.2 12.8"></path><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="12" y1="12.2" x2="12" y2="17.8"></line><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="11.2" y1="17.8" x2="12.8" y2="17.8"></line></g></svg>`;
<SvgXml xml={FileTypeIcon} 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 file-type.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="M7.7 3L12.6 3C13.1 3.1 13.6 3.3 14 3.7L18.3 8C18.7 8.5 19 9 19 9.6L19 18.3C19 19.8 17.8 21 16.3 21L7.7 21C6.2 21 5 19.8 5 18.3L5 5.7C5 4.2 6.2 3 7.7 3Z"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M13.5 3.2L13.5 6.1C13.5 7.9 15 9.3 16.8 9.3L19 9.3"></path><g><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M9.8 12.8L9.8 12.3C9.8 12 10 11.8 10.3 11.8L13.7 11.8C14 11.8 14.2 12 14.2 12.3L14.2 12.8"></path><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="12" y1="12.2" x2="12" y2="17.8"></line><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="11.2" y1="17.8" x2="12.8" y2="17.8"></line></g></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/file-type.svg" width="24" height="24" alt="File Type" />