Keyhole Square icon
streamline-ultimate:keyhole-square
The Keyhole Square icon (streamline-ultimate:keyhole-square) is a free SVG icon from the Ultimate free icons set by Streamline. It is drawn on a 24 × 24 grid. Ultimate free 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
- Ultimate free icons
- Author
- Streamline
- License
- CC-BY-4.0
- Size
- 24 × 24
- Category
- InterfaceEssential
- Tags
- keyholesquare
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"><path d="M2.25.75h19.5s1.5 0 1.5 1.5v19.5s0 1.5-1.5 1.5H2.25s-1.5 0-1.5-1.5V2.25s0-1.5 1.5-1.5"/><path d="M9.75 9.75a2.25 2.25 0 1 0 4.5 0a2.25 2.25 0 0 0-4.5 0M12 12v4.5"/></g></svg>How to use the Keyhole Square icon
React
import { Icon } from "@iconify/react";
<Icon icon="streamline-ultimate:keyhole-square" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="streamline-ultimate:keyhole-square" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="streamline-ultimate:keyhole-square" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[streamline-ultimate--keyhole-square]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/streamline-ultimate -->
<div class="i-streamline-ultimate:keyhole-square"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="streamline-ultimate:keyhole-square"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/streamline-ultimate/keyhole-square.svg" alt="Keyhole Square icon" width="24" height="24">Related icons in Ultimate free icons
Keyhole Square icon in other icon sets
Keyhole Square icon FAQ
Is the Keyhole Square icon free for commercial use?
Yes. Ultimate free 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 Keyhole Square icon in React?
Install @iconify/react and render <Icon icon="streamline-ultimate:keyhole-square" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Keyhole Square icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/streamline-ultimate/keyhole-square.svg" alt="Keyhole Square icon">, or paste the SVG code inline to style it with CSS.