ICONYZ
English
Garage Lock icon from Material Design Icons

Garage Lock icon

mdi:garage-lock

The Garage Lock icon (mdi:garage-lock) is a free SVG icon from the Material Design Icons set by Pictogrammers. It is drawn on a 24 × 24 grid. Material Design Icons are released under the Apache 2.0 license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Material Design Icons
Author
Pictogrammers
License
Apache-2.0
Size
24 × 24
Category
Lock, Home Automation
Tags
home automation, lock, garagelock
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M20.8 16v-1.5c0-1.4-1.4-2.5-2.8-2.5s-2.8 1.1-2.8 2.5V16c-.6 0-1.2.6-1.2 1.2v3.5c0 .7.6 1.3 1.2 1.3h5.5c.7 0 1.3-.6 1.3-1.2v-3.5c0-.7-.6-1.3-1.2-1.3m-1.3 0h-3v-1.5c0-.8.7-1.3 1.5-1.3s1.5.5 1.5 1.3zM5 12h8v2H5zm0 3h7.95c-.53.54-.87 1.24-.95 2H5zm7 5H5v-2h7zm2-9H4v9H2V9l7-4l7 4v1.44c-.81.36-1.5.92-2 1.62z"/></svg>

How to use the Garage Lock icon

React

import { Icon } from "@iconify/react";

<Icon icon="mdi:garage-lock" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="mdi:garage-lock" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="mdi:garage-lock" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[mdi--garage-lock]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/mdi -->
<div class="i-mdi:garage-lock"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="mdi:garage-lock"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/mdi/garage-lock.svg" alt="Garage Lock icon" width="24" height="24">

Related icons in Material Design Icons

Garage Lock icon FAQ

Is the Garage Lock icon free for commercial use?

Yes. Material Design Icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.

How do I use the Garage Lock icon in React?

Install @iconify/react and render <Icon icon="mdi:garage-lock" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Garage Lock icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/mdi/garage-lock.svg" alt="Garage Lock icon">, or paste the SVG code inline to style it with CSS.

Browse all Material Design Icons →