Prison icon
hugeicons:prison
The Prison icon (hugeicons:prison) is a free SVG icon from the Huge Icons set by Hugeicons. It is drawn on a 24 × 24 grid. Huge 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
- Huge Icons
- Author
- Hugeicons
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M3 3v18M9 3v18m6-6v6m0-18v6m6-6v18M2 3h20m-1 6h-6c-.943 0-1.414 0-1.707.293S13 10.057 13 11v2c0 .943 0 1.414.293 1.707S14.057 15 15 15h6M2 21h20m-5-9h-1"/></svg>How to use the Prison icon
React
import { Icon } from "@iconify/react";
<Icon icon="hugeicons:prison" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="hugeicons:prison" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="hugeicons:prison" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[hugeicons--prison]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/hugeicons -->
<div class="i-hugeicons:prison"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="hugeicons:prison"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/hugeicons/prison.svg" alt="Prison icon" width="24" height="24">Related icons in Huge Icons
Prison icon in other icon sets
Prison icon FAQ
Is the Prison icon free for commercial use?
Yes. Huge Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Prison icon in React?
Install @iconify/react and render <Icon icon="hugeicons:prison" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Prison icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/hugeicons/prison.svg" alt="Prison icon">, or paste the SVG code inline to style it with CSS.