Grid 2x2 icon
A hand-drawn grid 2x2 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
grid-2x2
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 Grid2x2Icon.tsx
import { SvgXml } from "react-native-svg";
const Grid2x2Icon = `<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="4.2" width="17.2" height="15.6" rx="2.5"></rect><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="12" x2="12" y1="4.2" y2="19.8"></line><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="3.4" x2="20.6" y1="12" y2="12"></line><g><rect stroke="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="currentColor" x="5.6" y="6.4" width="4.6" height="3.8" rx="1.1"></rect></g><g><rect stroke="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="currentColor" x="13.8" y="6.4" width="4.6" height="3.8" rx="1.1"></rect></g><g><rect stroke="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="currentColor" x="5.6" y="13.8" width="4.6" height="3.8" rx="1.1"></rect></g><g><rect stroke="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="currentColor" x="13.8" y="13.8" width="4.6" height="3.8" rx="1.1"></rect></g></svg>`;
<SvgXml xml={Grid2x2Icon} 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 grid-2x2.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="4.2" width="17.2" height="15.6" rx="2.5"></rect><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="12" x2="12" y1="4.2" y2="19.8"></line><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="3.4" x2="20.6" y1="12" y2="12"></line><g><rect stroke="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="currentColor" x="5.6" y="6.4" width="4.6" height="3.8" rx="1.1"></rect></g><g><rect stroke="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="currentColor" x="13.8" y="6.4" width="4.6" height="3.8" rx="1.1"></rect></g><g><rect stroke="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="currentColor" x="5.6" y="13.8" width="4.6" height="3.8" rx="1.1"></rect></g><g><rect stroke="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="currentColor" x="13.8" y="13.8" width="4.6" height="3.8" rx="1.1"></rect></g></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/grid-2x2.svg" width="24" height="24" alt="Grid 2x2" />