Shield
The shield icon represents a shield, a symbol of protection and defense.
Exports at 24 × 24 px
Code
Shield in your framework
In any framework. Customize it above, and the code follows.
export const ShieldIcon = (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="#d0cfce" d="M35.99 10.906c-11.046 0-20 4.478-20 10l.026.275C18.967 51.711 34.69 60.25 35.914 60.87l.076.037s17-8 20-40c.515-5.498-8.954-10-20-10m.002 43.978l-.06-.03c-.978-.496-13.543-7.318-15.901-31.714l-.021-.22c0-4.413 7.155-7.99 15.982-7.99s16.394 3.596 15.982 7.99c-2.397 25.571-15.982 31.964-15.982 31.964"/><path fill="#ea5a47" d="m35 17.906l3 4l-3 4l3 4l-3 4l3 4l-3 4l3 4l-3 4l1 5.26s-15-11-16-32c0 0 0-8 16-8z"/><path fill="#d22f27" d="m36 15.166l-1 2.74l3 4l-3 4l3 4l-3 4l3 4l-3 4l3 4l-3 4l1.002 4.978s13.844-8.958 15.982-31.964c0 0-.834-6.97-15.984-7.754"/><g fill="none" stroke="#000" strokeLinecap="round" strokeLinejoin="round" strokeMiterlimit="10" strokeWidth="2"><path d="M35.925 60.87c-1.225-.622-16.947-9.16-19.899-39.69L16 20.906c0-5.522 8.954-10 20-10s20.516 4.502 20 10c-3 32-20 40-20 40z"/><path d="M35.942 54.854c-.978-.496-13.543-7.318-15.9-31.714l-.022-.22c0-4.413 7.155-7.991 15.982-7.991s16.394 3.597 15.982 7.991c-2.397 25.571-15.982 31.964-15.982 31.964z"/></g>
</svg>
);Other libraries
Shield in 8 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
Shield is tagged security, safety, protection and 2 more. Related tags follow; each opens its icons from every library.
Pricing
OpenMoji MCP, with Pro
Ask for Shield 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 Shield icon means and where it's used, then how to install, style, label and license it.
The shield icon represents a shield, a symbol of protection and defense.
It is commonly used in software related to security, safety, and protection, such as antivirus software and cybersecurity tools.
From a UX perspective, the shield icon communicates a sense of safety or security, often used to represent protection or defense.
Shield 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 ShieldIcon to components/icons/openmoji-shield.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 ShieldIcon 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 Shield 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="Shield", so screen readers say what it does.
Yes. ShieldIcon passes every SVG prop to the svg element, so <ShieldIcon 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.
8 other libraries draw an icon called Shield. 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, safety, protection, defense and armor. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Shield 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 Shield's siblings in it.
4.9 out of 5 from 150+ developers
Install Shield from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro