Car Lock icon
material-symbols:car-lock
The Car Lock icon (material-symbols:car-lock) is a free SVG icon from the Material Symbols set by Google. It is drawn on a 24 × 24 grid. Material Symbols 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 Symbols
- Author
- License
- Apache-2.0
- Size
- 24 × 24
- Category
- Transit
- Tags
- carlock
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M4 21q-.425 0-.712-.288T3 20v-8l2.1-6q.15-.45.538-.725T6.5 5H14v2H6.85L5.8 10H14q0 .825.588 1.413T16 12h5v8q0 .425-.288.713T20 21h-1q-.425 0-.712-.288T18 20v-1H6v1q0 .425-.288.713T5 21zm3.5-5q.625 0 1.063-.437T9 14.5t-.437-1.062T7.5 13t-1.062.438T6 14.5t.438 1.063T7.5 16m9 0q.625 0 1.063-.437T18 14.5t-.437-1.062T16.5 13t-1.062.438T15 14.5t.438 1.063T16.5 16m.35-6q-.35 0-.6-.25t-.25-.6v-3.3q0-.35.25-.6t.6-.25H17V4q0-.825.588-1.412T19 2t1.413.588T21 4v1h.15q.35 0 .6.25t.25.6v3.3q0 .35-.25.6t-.6.25zM18 5h2V4q0-.425-.288-.712T19 3t-.712.288T18 4z"/></svg>How to use the Car Lock icon
React
import { Icon } from "@iconify/react";
<Icon icon="material-symbols:car-lock" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="material-symbols:car-lock" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="material-symbols:car-lock" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[material-symbols--car-lock]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/material-symbols -->
<div class="i-material-symbols:car-lock"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="material-symbols:car-lock"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/material-symbols/car-lock.svg" alt="Car Lock icon" width="24" height="24">Related icons in Material Symbols
Car Lock icon in other icon sets
Car Lock icon FAQ
Is the Car Lock icon free for commercial use?
Yes. Material Symbols icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the Car Lock icon in React?
Install @iconify/react and render <Icon icon="material-symbols:car-lock" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Car Lock icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/material-symbols/car-lock.svg" alt="Car Lock icon">, or paste the SVG code inline to style it with CSS.