ICONYZ
English
Prison icon from Maki

Prison icon

maki:prison

The Prison icon (maki:prison) is a free SVG icon from the Maki set by Mapbox. It is drawn on a 15 × 15 grid. Maki icons are released under the CC0 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
Maki
Author
Mapbox
License
CC0-1.0
Size
15 × 15
Tags
prison 15
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><path fill="currentColor" d="M3.5 1v13H12V1zm6 1H11v3.5H9.5zm-5 .055H6V7H4.5zm2.5 0h1.5V7H7zM10.25 6.5a.75.75 0 0 1 0 1.5a.75.75 0 0 1 0-1.5M7 8h1.473l.027 5H7.027zm-2.5.166H6V13H4.5zM9.5 9H11v4H9.5z"/></svg>

How to use the Prison icon

React

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

<Icon icon="maki:prison" width="24" />

Vue

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

<template>
  <Icon icon="maki:prison" width="24" />
</template>

Svelte

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

<Icon icon="maki:prison" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="maki:prison"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/maki/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. Maki icons are released under the CC0 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="maki: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/maki/prison.svg" alt="Prison icon">, or paste the SVG code inline to style it with CSS.

Browse all Maki icons →