Door Closed Locked icon
A hand-drawn door closed locked 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
- Wayfinding
- Grid
- 24 × 24
- Strokes
- 1.5 · 2 · 2.5
- Name
door-closed-locked
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 DoorClosedLockedIcon.tsx
import { SvgXml } from "react-native-svg";
const DoorClosedLockedIcon = `<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="M5.5 21L5.5 7.4C5.5 4.9 7.3 3.4 10.5 3.4C13.5 3.4 15.2 4.8 15.2 7.25L15.2 9.8"></path><circle stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" cx="8.4" cy="13" r="0.01"></circle><g><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M16.6 16.2L16.6 14.7C16.6 13.6 17.5 12.7 18.6 12.7S20.6 13.6 20.6 14.7L20.6 16.2"></path><rect stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x="15.3" y="16.2" width="6.2" height="4.7" rx="1.3"></rect></g><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="3.25" y1="21" x2="11.2" y2="21"></line></svg>`;
<SvgXml xml={DoorClosedLockedIcon} 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 door-closed-locked.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="M5.5 21L5.5 7.4C5.5 4.9 7.3 3.4 10.5 3.4C13.5 3.4 15.2 4.8 15.2 7.25L15.2 9.8"></path><circle stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" cx="8.4" cy="13" r="0.01"></circle><g><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M16.6 16.2L16.6 14.7C16.6 13.6 17.5 12.7 18.6 12.7S20.6 13.6 20.6 14.7L20.6 16.2"></path><rect stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x="15.3" y="16.2" width="6.2" height="4.7" rx="1.3"></rect></g><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="3.25" y1="21" x2="11.2" y2="21"></line></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/door-closed-locked.svg" width="24" height="24" alt="Door Closed Locked" />