gentleface

Gentleface › Buildings › prison

prison icon

Prison: prison, jail. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M13.86 13.736C13.758 13.993 13.609 14.219 13.414 14.414C13.219 14.609 12.993 14.758 12.736 14.86C12.5 14.953 12.254 15 12 15L3 15C2.746 15 2.5 14.953 2.264 14.86C2.007 14.758 1.781 14.609 1.586 14.414C1.391 14.219 1.242 13.993 1.14 13.736C1.047 13.5 1 13.254 1 13L1 3C1 2.746 1.047 2.5 1.14 2.264C1.242 2.007 1.391 1.781 1.586 1.586C1.781 1.391 2.007 1.242 2.264 1.14C2.5 1.047 2.746 1 3 1L12 1C12.254 1 12.5 1.047 12.736 1.14C12.993 1.242 13.219 1.391 13.414 1.586C13.609 1.781 13.758 2.007 13.86 2.264C13.953 2.5 14 2.746 14 3L14 13C14 13.254 13.953 13.5 13.86 13.736ZM2.293 13.707C2.488 13.902 2.724 14 3 14L4 14L4 2L3 2C2.724 2 2.488 2.098 2.293 2.293C2.098 2.488 2 2.724 2 3L2 13C2 13.276 2.098 13.512 2.293 13.707ZM6.948 10.895C6.755 10.818 6.586 10.707 6.439 10.561C6.293 10.414 6.182 10.245 6.105 10.052C6.035 9.875 6 9.691 6 9.5L6 7.5C6 7.309 6.035 7.125 6.105 6.948C6.182 6.755 6.293 6.586 6.439 6.439C6.586 6.293 6.755 6.182 6.948 6.105C6.965 6.098 6.983 6.092 7 6.086L7 2L5 2L5 14L7 14L7 10.914C6.983 10.908 6.965 10.902 6.948 10.895ZM8.895 10.052C8.818 10.245 8.707 10.414 8.561 10.561C8.414 10.707 8.245 10.818 8.052 10.895C8.035 10.902 8.017 10.908 8 10.914L8 14L10 14L10 2L8 2L8 6.086C8.017 6.092 8.035 6.098 8.052 6.105C8.245 6.182 8.414 6.293 8.561 6.439C8.707 6.586 8.818 6.755 8.895 6.948C8.965 7.125 9 7.309 9 7.5L9 9.5C9 9.691 8.965 9.875 8.895 10.052ZM12.707 13.707C12.902 13.512 13 13.276 13 13L13 3C13 2.724 12.902 2.488 12.707 2.293C12.512 2.098 12.276 2 12 2L11 2L11 14L12 14C12.276 14 12.512 13.902 12.707 13.707ZM7 9.5C7 9.638 7.049 9.756 7.146 9.854C7.244 9.951 7.362 10 7.5 10C7.638 10 7.756 9.951 7.854 9.854C7.951 9.756 8 9.638 8 9.5L8 7.5C8 7.362 7.951 7.244 7.854 7.146C7.756 7.049 7.638 7 7.5 7C7.362 7 7.244 7.049 7.146 7.146C7.049 7.244 7 7.362 7 7.5L7 9.5Z"/></svg>
React
// Gentleface "prison" (line-round), MIT. https://gentleface.com/icons/prison
import type { SVGProps } from 'react';

export function PrisonIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M13.86 13.736C13.758 13.993 13.609 14.219 13.414 14.414C13.219 14.609 12.993 14.758 12.736 14.86C12.5 14.953 12.254 15 12 15L3 15C2.746 15 2.5 14.953 2.264 14.86C2.007 14.758 1.781 14.609 1.586 14.414C1.391 14.219 1.242 13.993 1.14 13.736C1.047 13.5 1 13.254 1 13L1 3C1 2.746 1.047 2.5 1.14 2.264C1.242 2.007 1.391 1.781 1.586 1.586C1.781 1.391 2.007 1.242 2.264 1.14C2.5 1.047 2.746 1 3 1L12 1C12.254 1 12.5 1.047 12.736 1.14C12.993 1.242 13.219 1.391 13.414 1.586C13.609 1.781 13.758 2.007 13.86 2.264C13.953 2.5 14 2.746 14 3L14 13C14 13.254 13.953 13.5 13.86 13.736ZM2.293 13.707C2.488 13.902 2.724 14 3 14L4 14L4 2L3 2C2.724 2 2.488 2.098 2.293 2.293C2.098 2.488 2 2.724 2 3L2 13C2 13.276 2.098 13.512 2.293 13.707ZM6.948 10.895C6.755 10.818 6.586 10.707 6.439 10.561C6.293 10.414 6.182 10.245 6.105 10.052C6.035 9.875 6 9.691 6 9.5L6 7.5C6 7.309 6.035 7.125 6.105 6.948C6.182 6.755 6.293 6.586 6.439 6.439C6.586 6.293 6.755 6.182 6.948 6.105C6.965 6.098 6.983 6.092 7 6.086L7 2L5 2L5 14L7 14L7 10.914C6.983 10.908 6.965 10.902 6.948 10.895ZM8.895 10.052C8.818 10.245 8.707 10.414 8.561 10.561C8.414 10.707 8.245 10.818 8.052 10.895C8.035 10.902 8.017 10.908 8 10.914L8 14L10 14L10 2L8 2L8 6.086C8.017 6.092 8.035 6.098 8.052 6.105C8.245 6.182 8.414 6.293 8.561 6.439C8.707 6.586 8.818 6.755 8.895 6.948C8.965 7.125 9 7.309 9 7.5L9 9.5C9 9.691 8.965 9.875 8.895 10.052ZM12.707 13.707C12.902 13.512 13 13.276 13 13L13 3C13 2.724 12.902 2.488 12.707 2.293C12.512 2.098 12.276 2 12 2L11 2L11 14L12 14C12.276 14 12.512 13.902 12.707 13.707ZM7 9.5C7 9.638 7.049 9.756 7.146 9.854C7.244 9.951 7.362 10 7.5 10C7.638 10 7.756 9.951 7.854 9.854C7.951 9.756 8 9.638 8 9.5L8 7.5C8 7.362 7.951 7.244 7.854 7.146C7.756 7.049 7.638 7 7.5 7C7.362 7 7.244 7.049 7.146 7.146C7.049 7.244 7 7.362 7 7.5L7 9.5Z" />
    </svg>
  );
}
Vue
Vue: see /icons/prison.md
Svelte
Svelte: see /icons/prison.md
HTML img
HTML img: see /icons/prison.md
CSS
CSS: see /icons/prison.md
Data URL
Data URL: see /icons/prison.md
Sprite
Sprite: see /icons/prison.md
SwiftUI
SwiftUI: see /icons/prison.md
Compose
Compose: see /icons/prison.md
Android XML
Android XML: see /icons/prison.md
Flutter
Flutter: see /icons/prison.md

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

Meaning

Use it for
prison, jail
Tags
prison, jail, cell, bars, penitentiary, detention, lockup, crime
Category
Buildings
Component name
PrisonIcon
History
  • 20 px drawn, 24 px drawn, added

More buildings icons

For agents

Metadata: /icons/prison.json · Markdown: /icons/prison.md · SVG: https://gentleface.com/svg/{style}/16/prison.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/prison.png