Guard
The guard icon represents a person or entity that provides protection, safety, or security.
Exports at 24 × 24 px
Code
Guard in your framework
In any framework. Customize it above, and the code follows.
export const GuardIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 72 72" fill="none" stroke="currentColor" {...props}>
<path fill="#ea5a47" d="M54.92 58.942s4.01-14.002-10.3-14.898c-3.192 2.12-5.926 3.584-9 3.578h.125c-3.074.006-5.808-1.459-9-3.578c-12 0-10 14.898-10 14.898"/><path fill="#d22f27" d="M45.362 44.09c-3.113 2.075-4.984 3.24-8.973 3.818c12.827.404 12.827 7.11 13.575 11.037h5.02s2.16-14.855-9.622-14.855"/><path fill="#fff" d="M38 52.061h-4.183l.3 6.882H37.8z"/><path fill="#3f3f3f" d="M24.872 23.026h21.273V9.586a7.35 7.35 0 0 0-7.352-7.352h-6.569a7.35 7.35 0 0 0-7.352 7.352zm19.944 21.917c1.19 0 2.24.13 3.17.36c-7.49 9.31-18.82 7.44-24.21 0c.93-.23 1.97-.36 3.16-.36c3.16 2.09 5.86 3.55 8.88 3.59h.12c3.02-.04 5.73-1.5 8.88-3.59"/><path fill="#fcea2b" d="M47.208 28.867c0-2.235-.444-4.344-1.232-6.209l-20.586.368a16 16 0 0 0-1.082 5.84q.002 1.427.232 2.771c1.068 6.264 5.49 10.976 11.595 10.976s10.267-5.198 10.817-10.846c.168-.935.256-1.906.256-2.9"/><path d="M41.88 27.087a2 2 0 1 1-4.001-.001a2 2 0 0 1 4.001.001m-8 0a2 2 0 1 1-4.001-.001a2 2 0 0 1 4.001.001m2 10.003c-1.152 0-2.304-.287-3.447-.858a1 1 0 1 1 .894-1.79c1.718.86 3.388.86 5.106 0a1 1 0 0 1 .894 1.79c-1.143.571-2.295.858-3.447.858"/><path fill="none" stroke="#000" strokeLinecap="round" strokeLinejoin="round" strokeMiterlimit="10" strokeWidth="2" d="M16.936 57.943s-1.62-10.56 6.84-12.64c.93-.23 1.97-.36 3.16-.36c3.16 2.09 5.86 3.55 8.88 3.59h.12c3.02-.04 5.73-1.5 8.88-3.59c1.19 0 2.24.13 3.17.36c8.45 2.09 6.83 12.64 6.83 12.64"/><path fill="none" stroke="#000" strokeLinecap="round" strokeLinejoin="round" strokeMiterlimit="10" strokeWidth="2" d="M23.776 45.303c5.39 7.44 16.72 9.31 24.21 0"/><path d="M34.22 58.953a1 1 0 0 1-1-1v-6.401a1 1 0 1 1 2 0v6.401a1 1 0 0 1-1 1m3.56 0a1 1 0 0 1-1-1V51.52a1 1 0 1 1 2 0v6.433a1 1 0 0 1-1 1m8.664-34.927H25.172a1 1 0 0 1-1-1V9.586c0-4.605 3.747-8.352 8.352-8.352h6.569c4.605 0 8.351 3.747 8.351 8.352v13.44a1 1 0 0 1-1 1m-20.272-2h19.272V9.586a6.36 6.36 0 0 0-6.351-6.352h-6.569a6.36 6.36 0 0 0-6.352 6.352zm15.704 5.054a2 2 0 1 1-4.002-.002a2 2 0 0 1 4.002.001m-8 .001a2 2 0 1 1-4.002-.002a2 2 0 0 1 4.002.001m2 10.003q-1.73 0-3.448-.858a1 1 0 1 1 .895-1.79c1.718.86 3.388.86 5.105 0a1 1 0 0 1 .895 1.79q-1.718.858-3.447.858"/><path d="M35.876 43.613c-6.804 0-12.339-6.806-12.339-15.173c0-1.881.276-3.717.82-5.457a1 1 0 1 1 1.909.598a16.3 16.3 0 0 0-.729 4.859c0 7.264 4.638 13.173 10.339 13.173c5.7 0 10.338-5.909 10.338-13.173a16.6 16.6 0 0 0-.302-3.17a16 16 0 0 0-.42-1.672a1 1 0 0 1 1.91-.594a18.2 18.2 0 0 1 .812 5.436c0 8.367-5.535 15.173-12.338 15.173"/><path fill="none" stroke="#000" strokeLinecap="round" strokeLinejoin="round" strokeMiterlimit="10" strokeWidth="2" d="M17.715 44.463c1.582-1.107 3.65-1.963 6.352-2.398m30.218 2.398c-1.582-1.107-3.65-1.963-6.352-2.398"/>
</svg>
);Other libraries
Guard in 2 more libraries
Each library draws it its own way. Open one to compare.
OpenMoji
More like it
Icons that share its tags, in the same style.
Search OpenMoji
Skip the copy and paste. With Pro, your AI agent finds and installs any OpenMoji icon from a prompt.
Get ProTags
Browse by tag
Guard is tagged icon, emoji, security and 3 more. Related tags follow; each opens its icons from every library.
Pricing
OpenMoji MCP, with Pro
Ask for Guard or any of 4,481 OpenMoji 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 Guard icon means and where it's used, then how to install, style, label and license it.
The guard icon represents a person or entity that provides protection, safety, or security. It is often used to symbolize defense, vigilance, or caution. The guard icon can be used in various contexts, such as indicating a secure or protected area, warning of potential dangers, or signifying a protective measure.
In real-world applications, the guard icon can be seen in software or platforms that prioritize security, such as password managers, antivirus programs, or secure online storage services. It can also be used in UI design to convey a sense of safety or protection, such as in a settings menu or a warning dialog.
From a UX perspective, the guard icon communicates a sense of security, trust, or caution. It helps users understand that a particular action or feature is protected or secure, and can be used to alleviate concerns about data safety.
Guard is one of 4,481 icons in OpenMoji, made by OpenMoji and released under CC BY-SA 4.0. It is drawn on a 72 × 72 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 GuardIcon to components/icons/openmoji-guard.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 GuardIcon 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 Guard icon, or any of 4,481 OpenMoji 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 72 × 72 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="Guard", so screen readers say what it does.
Yes. GuardIcon passes every SVG prop to the svg element, so <GuardIcon 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 conditions: CC BY-SA 4.0 asks you to credit the author (OpenMoji), and icons you change must use the same license. The full terms are in the license, linked on this page.
Yes. CC BY-SA 4.0 asks you to credit OpenMoji, and icons you change must be shared under the same license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
2 other libraries draw an icon called Guard. 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 icon, emoji, security, safety, protection and guard. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Guard in another set.
OpenMoji draws many icons in several styles: Light next to the default. Open the library and pick a style above the grid to see Guard's siblings in it.
4.9 out of 5 from 150+ developers
Install Guard from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro