Barrier
The barrier icon represents a block or obstruction that restricts access.
Exports at 24 × 24 px
Code
Barrier in your framework
In any framework. Customize it above, and the code follows.
export const BarrierIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 512 512" {...props}>
<path fill="currentColor" d="M112 41c-21.65 0-39 17.35-39 39c0 21.6 17.35 39 39 39c21.6 0 39-17.4 39-39c0-21.65-17.4-39-39-39m288 0c-21.6 0-39 17.35-39 39c0 21.6 17.4 39 39 39s39-17.4 39-39c0-21.65-17.4-39-39-39M112 55c13.7 0 25 11.3 25 25s-11.3 25-25 25s-25-11.3-25-25s11.3-25 25-25m288 0c13.7 0 25 11.3 25 25s-11.3 25-25 25s-25-11.3-25-25s11.3-25 25-25M83.38 129.2L80.87 151h45.83l1.9-16.5c-5.2 1.6-10.8 2.5-16.6 2.5c-10.4 0-20.2-2.8-28.62-7.8m345.22.1c-8.4 4.9-18.2 7.7-28.6 7.7c-5.8 0-11.4-.9-16.7-2.5l1.9 16.5h45.9zM41 169v57.3L79.18 169zm59.8 0l-51.98 78h42.36l52.02-78zm64 0l-52 78h42.4l52-78zm64 0l-52 78h42.4l52-78zm64 0l-52 78h42.4l52-78zm64 0l-52 78h42.4l52-78zm64 0l-52 78h42.4l52-78zm50.2 20.8L432.8 247H471zM67.71 265l-7.15 62h45.84l7.2-62zm330.69 0l7.1 62h45.9l-7.1-62zM41 345v16h430v-16zm13.56 34L42.1 487h45.88l12.42-108zm356.94 0L424 487h45.9l-12.5-108z"/>
</svg>
);Other libraries
Barrier in 3 more libraries
Each library draws it its own way. Open one to compare.
Game Icons
More like it
Icons that share its tags, in the same style.
Search Game Icons
Skip the copy and paste. With Pro, your AI agent finds and installs any Game Icons icon from a prompt.
Get ProTags
Browse by tag
Barrier is tagged security, access, restriction and 3 more. Related tags follow; each opens its icons from every library.
Pricing
Game Icons MCP, with Pro
Ask for Barrier or any of 4,123 Game Icons icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
What the Barrier icon means and where it's used, then how to install, style, label and license it.
The barrier icon represents a block or obstruction that restricts access. It originates from various settings, including construction and security. The barrier symbol is widely used in contexts related to access control, security, and restrictions.
In real-world applications, the barrier icon appears in software and platforms related to access control, security systems, and restricted areas.
From a UX perspective, the barrier icon communicates a sense of restriction and limitation. It helps users understand that a service or product is related to access control or security.
Barrier is one of 4,123 icons in Game Icons, made by GameIcons and released under CC BY 3.0. It is drawn on a 512 × 512 grid.
Sign in (it's free), then open Get icon, Install with shadcn CLI, and pick your package manager to copy the command. It adds BarrierIcon to components/icons/game-icons-barrier.tsx: one file, a size prop (24 by default) and every SVG prop, with no icon package.
Copy it as React (from Get icon, or the Code section): a typed BarrierIcon component you paste into your project, with no package to install. Only the icons you import reach your bundle. It works in Next.js and any React app.
Open Get icon, then Copy as code, and pick Vue, Svelte, Angular, Solid or Preact; the Code section shows each one too. Every version is one self-contained component with the SVG inside, and SVG and data URL copies are there for plain HTML and CSS.
With Pro, the shadcn.io MCP server lets Claude Code, Cursor or any MCP client find the Barrier icon, or any of 4,123 Game Icons icons, and install it from a prompt.
It's drawn in currentColor, so it takes the text color wherever you use it: a class like text-primary recolors it. To bake a color in, set one in Customize before you copy.
Set width and height on the component, or a class like size-6. It's drawn on a 512 × 512 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It follows the text color, so with text-foreground (or any theme token) it changes with your light and dark themes. The icon is a vector, so it needs no separate dark asset.
Next to a visible label it's decoration: add aria-hidden="true" so screen readers skip it. Standing alone, as in an icon button, give the button a name instead, like aria-label="Barrier", so screen readers say what it does.
Yes. BarrierIcon passes every SVG prop to the svg element, so <BarrierIcon aria-hidden="true" /> works, and so do role="img" with aria-label, or a title child, when it carries meaning on its own.
Yes. Open Get icon, then Download file: SVG for code or design tools like Figma; PNG, WebP or JPEG at 512px; or an ICO favicon with 16, 32 and 48px inside. Each one uses what you set in Customize.
Yes, with credit: CC BY 3.0 asks you to credit the author (GameIcons) where you use the icons. The full terms are in the license, linked on this page.
Yes. CC BY 3.0 asks you to credit the author where you use the icons, for example "Icons by GameIcons, CC BY 3.0" on an about or credits page.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
3 other libraries draw an icon called Barrier. The Other libraries section on this page shows each one, so you can compare them and open the one that fits your style.
Its tags are security, access, restriction, block, barrier and obstacle. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Barrier in another set.
4.9 out of 5 from 150+ developers
Install Barrier from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro