House Lock icon
bi:house-lock
The House Lock icon (bi:house-lock) is a free SVG icon from the Bootstrap Icons set by The Bootstrap Authors. It is drawn on a 24 × 24 grid. Bootstrap 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
- Bootstrap Icons
- Author
- The Bootstrap Authors
- License
- MIT
- Size
- 24 × 24
- Tags
- houselock
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="currentColor"><path d="M7.293 1.5a1 1 0 0 1 1.414 0L11 3.793V2.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v3.293l2.354 2.353a.5.5 0 0 1-.708.708L8 2.207l-5 5V13.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 1 0 1h-4A1.5 1.5 0 0 1 2 13.5V8.207l-.646.647a.5.5 0 1 1-.708-.708z"/><path d="M10 13a1 1 0 0 1 1-1v-1a2 2 0 0 1 4 0v1a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1zm3-3a1 1 0 0 0-1 1v1h2v-1a1 1 0 0 0-1-1"/></g></svg>How to use the House Lock icon
React
import { Icon } from "@iconify/react";
<Icon icon="bi:house-lock" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="bi:house-lock" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="bi:house-lock" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[bi--house-lock]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/bi -->
<div class="i-bi:house-lock"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="bi:house-lock"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/bi/house-lock.svg" alt="House Lock icon" width="24" height="24">Related icons in Bootstrap Icons
house
house-add
house-add-fill
house-check
house-check-fill
house-dash
house-dash-fill
house-door
house-door-fill
house-down
house-down-fill
house-exclamation
house-exclamation-fill
house-fill
house-gear
house-gear-fill
house-heart
house-heart-fill
house-lock-fill
house-slash
house-slash-fill
house-up
house-up-fill
house-x
House Lock icon in other icon sets
House Lock icon FAQ
Is the House Lock icon free for commercial use?
Yes. Bootstrap Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the House Lock icon in React?
Install @iconify/react and render <Icon icon="bi:house-lock" />, or use “Copy code” on this page to get a standalone React component.
How do I add the House Lock icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/bi/house-lock.svg" alt="House Lock icon">, or paste the SVG code inline to style it with CSS.