Lock icon
ix:lock
The Lock icon (ix:lock) is a free SVG icon from the Siemens Industrial Experience Icons set by Siemens AG. It is drawn on a 512 × 512 grid. Siemens Industrial Experience Icons are released under the MIT 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
- Siemens Industrial Experience Icons
- Author
- Siemens AG
- License
- MIT
- Size
- 512 × 512
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path fill="currentColor" fill-rule="evenodd" d="M256 42.667c70.49 0 128 57.695 128 128V256h42.666v213.334H85.333V256H128v-85.333c0-70.305 57.51-128 128-128m128 256H128v128h256zM256 85.334c-47.331 0-85.334 38.996-85.334 85.333V256h170.667v-85.333c0-46.337-38.003-85.333-85.333-85.333"/></svg>How to use the Lock icon
React
import { Icon } from "@iconify/react";
<Icon icon="ix:lock" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ix:lock" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ix:lock" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ix--lock]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ix -->
<div class="i-ix:lock"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ix:lock"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ix/lock.svg" alt="Lock icon" width="24" height="24">Related icons in Siemens Industrial Experience Icons
Lock icon in other icon sets
Lock icon FAQ
Is the Lock icon free for commercial use?
Yes. Siemens Industrial Experience Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Lock icon in React?
Install @iconify/react and render <Icon icon="ix:lock" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Lock icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/ix/lock.svg" alt="Lock icon">, or paste the SVG code inline to style it with CSS.