ICONYZ
English
Locked icon from Twitter Emoji

Locked icon

twemoji:locked

The Locked icon (twemoji:locked) is a free SVG icon from the Twitter Emoji set by Twitter. It is drawn on a 36 × 36 grid. Twitter Emoji icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Twitter Emoji
Author
Twitter
License
CC-BY-4.0
Size
36 × 36
Category
Objects
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36"><path fill="#aab8c2" d="M18 0C12.477 0 8 4.477 8 10v10h4V10a6 6 0 0 1 12 0v10h4V10c0-5.523-4.477-10-10-10"/><path fill="#ffac33" d="M32 32a4 4 0 0 1-4 4H8a4 4 0 0 1-4-4V18a4 4 0 0 1 4-4h20a4 4 0 0 1 4 4z"/></svg>

How to use the Locked icon

React

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

<Icon icon="twemoji:locked" width="24" />

Vue

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

<template>
  <Icon icon="twemoji:locked" width="24" />
</template>

Svelte

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

<Icon icon="twemoji:locked" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[twemoji--locked]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/twemoji -->
<div class="i-twemoji:locked"></div>

Web component

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

<iconify-icon icon="twemoji:locked"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/twemoji/locked.svg" alt="Locked icon" width="24" height="24">

Related icons in Twitter Emoji

Locked icon in other icon sets

Locked icon FAQ

Is the Locked icon free for commercial use?

Yes. Twitter Emoji icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Locked icon in React?

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

How do I add the Locked icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/twemoji/locked.svg" alt="Locked icon">, or paste the SVG code inline to style it with CSS.

Browse all Twitter Emoji icons →