Barrier
The barrier icon represents an obstacle or a blockade that restricts access or movement.
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 50 50" fill="none" stroke="currentColor" {...props}>
<g fill="none" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2"><path stroke="#344054" d="M8.333 43.75h8.334M12.5 10.417V6.25zm0 25v8.333zm25-25V6.25zm-25 16.666V18.75zm25 0V18.75zm0 8.334v8.333zm-4.167 8.333h8.334z"/><path stroke="#306CFE" d="M41.667 18.75H8.333a2.083 2.083 0 0 1-2.083-2.083V12.5a2.083 2.083 0 0 1 2.083-2.083h33.334A2.083 2.083 0 0 1 43.75 12.5v4.167a2.083 2.083 0 0 1-2.083 2.083m0 16.667H8.333a2.083 2.083 0 0 1-2.083-2.084v-4.166a2.083 2.083 0 0 1 2.083-2.084h33.334a2.083 2.083 0 0 1 2.083 2.084v4.166a2.083 2.083 0 0 1-2.083 2.084"/></g>
</svg>
);Other libraries
Barrier in 4 more libraries
Each library draws it its own way. Open one to compare.
Marketeq
More like it
Icons that share its tags, in the same style.
Search Marketeq
Skip the copy and paste. With Pro, your AI agent finds and installs any Marketeq icon from a prompt.
Get ProTags
Browse by tag
Barrier is tagged security, control, access and 3 more. Related tags follow; each opens its icons from every library.
Pricing
Marketeq MCP, with Pro
Ask for Barrier or any of 590 Marketeq 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 an obstacle or a blockade that restricts access or movement. It originates from the concept of physical barriers used to control access or prevent unauthorized entry. The icon signifies a restriction or limitation that needs to be overcome or addressed.
In real-world applications, the barrier icon appears in various contexts such as construction sites, roadblocks, and security checkpoints. It is also used in digital platforms like access control systems, security software, and website blockers.
From a UX perspective, the barrier icon communicates a restriction or limitation that needs to be addressed. It helps users understand that there is an obstacle or a challenge that needs to be overcome to access a particular feature or functionality.
Barrier is one of 590 icons in Marketeq, made by Marketeq and released under MIT. It is drawn on a 50 × 50 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/marketeq-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 590 Marketeq icons, and install it from a prompt.
It's multicolor, so it keeps its own colors.
Set width and height on the component, or a class like size-6. It's drawn on a 50 × 50 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It keeps its own colors in light and dark mode, so check it against both backgrounds. 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. MIT allows commercial use; keep the license notice when you ship the icons' source files. The full terms are in the license, linked on this page.
No visible credit is required: MIT only asks that you keep the license notice if you ship the icons' source files. Icons installed with the shadcn CLI already start with a comment naming Marketeq, Marketeq and the license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
4 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, control, access, restriction, obstacle and limitation. 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