Prison icon
roentgen:prison
The Prison icon (roentgen:prison) is a free SVG icon from the Röntgen set by Sergey Vartanov. It is drawn on a 24 × 24 grid. Röntgen 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
- Röntgen
- Author
- Sergey Vartanov
- License
- CC-BY-4.0
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M2.5 1a.499.499 0 1 0 0 1H3v3h-.5c-.277 0-.5.223-.5.5v4c0 .277.223.5.5.5H3v3h-.5a.499.499 0 1 0 0 1h11a.499.499 0 1 0 0-1H13V2h.5a.499.499 0 1 0 0-1zM4 2h2v3H4zm3 0h2v11H7v-3h.5c.277 0 .5-.223.5-.5v-4c0-.277-.223-.5-.5-.5H7zm3 0h2v11h-2zM5 6a1 1 0 0 1 .477 1.879c.01.04.023.078.023.121v1a.499.499 0 1 1-1 0V8c0-.043.013-.081.023-.121A1 1 0 0 1 5 6m-1 4h2v3H4z"/></svg>How to use the Prison icon
React
import { Icon } from "@iconify/react";
<Icon icon="roentgen:prison" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="roentgen:prison" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="roentgen:prison" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[roentgen--prison]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/roentgen -->
<div class="i-roentgen:prison"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="roentgen:prison"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/roentgen/prison.svg" alt="Prison icon" width="24" height="24">Prison icon in other icon sets
Prison icon FAQ
Is the Prison icon free for commercial use?
Yes. Röntgen 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 Prison icon in React?
Install @iconify/react and render <Icon icon="roentgen: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/roentgen/prison.svg" alt="Prison icon">, or paste the SVG code inline to style it with CSS.