Icons

IconPark Solid Prison Icon

The Prison icon is part of the IconPark Solid collection — 1,970+ professional icons for general-purpose product UIs, design systems, component libraries, web applications, and marketing sites. On IconStash, you can preview, customize, compare across libraries, and download in SVG, PNG, JSX, or CSS format.

Interactive Customizer

1.5px
128px

About this icon

Use the Prison icon

The Prison icon (IconPark Solid) is categorized under Interface. Its bold style is optimal for interface components and product UI and scales cleanly from 16px to 512px.

Use the IconStash detail panel to preview with a custom background, adjust stroke width, and generate production-ready SVG or PNG files without any external tools.

Export formats

Copy clean SVG vectors with one click, generate custom-size PNG files from 16px to 512px, export JSX/React components ready to paste into your project, or use the icon as a CSS background-mask for flexible theming.

All exports are based on the same editable vector — so the Prison icon stays pixel-perfect at 16px, 24px, 48px, and any large marketing size.

Design & UX integration

Aesthetic characteristics

Prison is the solid cut of ByteDance's IconPark set. Solid glyphs carry more visual weight than outlines, which makes them the better choice for selected states, active navigation items and small sizes where a thin stroke would otherwise disappear.

UX best practices

As a general interface glyph, the Prison icon does its job best between 16px and 24px, sitting next to a text label. Icon-only treatments work for a small set of universally understood actions, but comprehension falls off quickly once the action is specific to your product — so when in doubt, add the word.

Use in your project

React / npm — IconPark Solid

npm install @icon-park/react

import { Prison } from '@icon-park/react';

// JSX usage:
<Prison theme="filled" size={24} fill="#000" />

Copy the SVG markup directly from the IconStash editor to use the Prison icon without any npm package — paste it into HTML, JSX, or a design tool.

Inline SVG (copy & paste)

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" role="img" aria-label="prison icon"><defs><mask id="SVGu54fQdIq"><g fill="none" stroke-linecap="round" stroke-width="4"><path stroke="currentColor" stroke-linejoin="round" d="M6 4v8a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4M6 7h14m8 15H6v22h22m-12 0V13m-6 9v-9m3-9v3m14 6v3m8-3v3m8-3v3"/><path fill="currentColor" stroke="currentColor" stroke-linejoin="round" d="M43 44V16H27v28z"/><path stroke="currentColor" d="M35 34v10"/><path stroke="currentColor" d="M31 44h8"/></g></mask></defs><path fill="currentColor" d="M0 0h48v48H0z" mask="url(#SVGu54fQdIq)"/></svg>

Library & related icons

About IconPark Solid

ByteDance's filled/solid icon library with 1,900+ solid-style icons. Fully customizable colors and sizes, built on the same system as IconPark Outline.

  • Total icons: 1,970+
  • Style: filled
  • License: Apache 2.0
  • npm package: @icon-park/react
Browse all 1,970 IconPark Solid icons →

People also search for

Frequently asked questions

What is the Prison icon?

The Prison icon is a bold-style SVG icon from the IconPark Solid library, categorized under Interface. It is designed for use in general-purpose product UIs, design systems, component libraries, web applications, and marketing sites. On IconStash you can preview it, customize its color and size, and export it in SVG, PNG, JSX, or CSS formats directly from your browser.

Is the Prison icon free to use?

Yes. IconPark Solid is licensed under Apache 2.0, making it free for personal and commercial use. This means you can freely use the Prison icon in personal, commercial, and open-source projects. IconStash provides SVG and PNG access at no cost with no login required.

How do I use the Prison icon in React?

Install the package with `npm install @icon-park/react`, then import the component into your React file. IconStash's detail panel shows you the exact npm command, import statement, and JSX usage snippet for every icon — just click the Code tab and copy with one click.

What is the IconPark Solid icon library?

ByteDance's filled/solid icon library with 1,900+ solid-style icons. Fully customizable colors and sizes, built on the same system as IconPark Outline. It contains 1,970+ icons. IconStash indexes the complete IconPark Solid collection alongside 27 other open-source libraries — 134,701 icons total — in a single unified search interface.

Can I download the Prison icon as a PNG?

Yes. Open the Prison icon in IconStash, set your desired pixel size (16px to 512px) in the detail panel, and click Download PNG. You can also export a multi-resolution ZIP pack containing 16, 24, 32, 48, 64, 128, 256, and 512px PNGs with a single click.

What does the bold icon style mean?

An icon in bold style uses a clean SVG vector format. This style is best suited for interface components. The IconPark Solid Prison icon follows this visual convention throughout the IconPark Solid design system.

Can I change the Prison icon's color and size before downloading?

Yes. In IconStash's editor panel, choose from six color presets (blue, slate, green, purple, red, teal) or enter a custom hex value. Drag the size slider (16–256px) or type an exact pixel value up to 512px. Changes apply instantly to the SVG preview, the PNG output, and the copied code.