ICONYZ
English
Lock Twotone icon from Ant Design Icons

Lock Twotone icon

ant-design:lock-twotone

The Lock Twotone icon (ant-design:lock-twotone) is a free SVG icon from the Ant Design Icons set by HeskeyBaozi. It is drawn on a 1024 × 1024 grid. Ant Design 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
Ant Design Icons
Author
HeskeyBaozi
License
MIT
Size
1024 × 1024
Tags
locktwotone
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1024" viewBox="0 0 1024 1024"><path fill="currentColor" d="M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32M332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332zm460 600H232V536h560z"/><path fill="currentColor" fill-opacity=".15" d="M232 840h560V536H232zm280-226a48.01 48.01 0 0 1 28 87v53c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-53a48.01 48.01 0 0 1 28-87"/><path fill="currentColor" d="M484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 1 0-56 0"/></svg>

How to use the Lock Twotone icon

React

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

<Icon icon="ant-design:lock-twotone" width="24" />

Vue

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

<template>
  <Icon icon="ant-design:lock-twotone" width="24" />
</template>

Svelte

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

<Icon icon="ant-design:lock-twotone" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[ant-design--lock-twotone]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/ant-design -->
<div class="i-ant-design:lock-twotone"></div>

Web component

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

<iconify-icon icon="ant-design:lock-twotone"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/ant-design/lock-twotone.svg" alt="Lock Twotone icon" width="24" height="24">

Related icons in Ant Design Icons

Lock Twotone icon FAQ

Is the Lock Twotone icon free for commercial use?

Yes. Ant Design Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Lock Twotone icon in React?

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

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

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

Browse all Ant Design Icons →