Box icon
A hand-drawn box 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
box
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 BoxIcon.tsx
import { SvgXml } from "react-native-svg";
const BoxIcon = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><rect stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x="3.4" y="8.8" width="12.6" height="12.4" rx="1.6"></rect><g><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M4.6 8.8L8.4 4.4C8.7 4 9.2 3.8 9.7 3.8L18.9 3.8C19.5 3.8 19.8 4.5 19.4 5L17.7 6.9Q16 8.8 10.3 8.8L4.6 8.8Z"></path></g><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M19.4 5C19.6 4.8 19.8 5 19.8 5.2L19.8 16.6C19.8 17.1 19.6 17.5 19.3 17.7L16 21.2L16 15Q16 8.8 17.7 6.9L19.4 5Z"></path></svg>`;
<SvgXml xml={BoxIcon} 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 box.svg
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><rect stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x="3.4" y="8.8" width="12.6" height="12.4" rx="1.6"></rect><g><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M4.6 8.8L8.4 4.4C8.7 4 9.2 3.8 9.7 3.8L18.9 3.8C19.5 3.8 19.8 4.5 19.4 5L17.7 6.9Q16 8.8 10.3 8.8L4.6 8.8Z"></path></g><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M19.4 5C19.6 4.8 19.8 5 19.8 5.2L19.8 16.6C19.8 17.1 19.6 17.5 19.3 17.7L16 21.2L16 15Q16 8.8 17.7 6.9L19.4 5Z"></path></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/box.svg" width="24" height="24" alt="Box" />