Sword Shield
The sword-shield icon represents a combination of a sword and shield, symbolizing protection and strength.
Exports at 24 × 24 px
Code
Sword Shield in your framework
In any framework. Customize it above, and the code follows.
export const SwordShieldIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 20 20" {...props}>
<g fill="currentColor"><g opacity=".2"><path fillRule="evenodd" d="M10.945 6.362a1 1 0 0 0-.484.286l-5.254 5.62a1 1 0 0 0 .09 1.451L6.75 14.93a1 1 0 0 0 1.379-.093l5.174-5.662a1 1 0 0 0 .255-.56l.182-1.564a1 1 0 0 0-1.24-1.084z" clipRule="evenodd"/><path d="M3.61 12.523a1.345 1.345 0 0 1 1.897-.127l3.123 2.732a1.345 1.345 0 1 1-1.771 2.025l-3.123-2.732a1.345 1.345 0 0 1-.127-1.898"/><path fillRule="evenodd" d="M5.507 12.396a1.345 1.345 0 0 0-1.77 2.025l3.122 2.732a1.345 1.345 0 1 0 1.771-2.025z" clipRule="evenodd"/><path d="m4.385 18.21l2.27-2.408a1 1 0 0 0-.128-1.486l-.36-.27a1 1 0 0 0-1.355.143l-2.149 2.467a1 1 0 0 0 .096 1.41l.24.21a1 1 0 0 0 1.386-.067"/><path fillRule="evenodd" d="m6.655 15.802l-2.27 2.407a1 1 0 0 1-1.386.067l-.24-.21a1 1 0 0 1-.096-1.41l2.15-2.467a1 1 0 0 1 1.353-.143l.361.27a1 1 0 0 1 .128 1.486" clipRule="evenodd"/><path d="M18.25 13.368c.724-1.536.907-3.785.93-5.455c.018-1.391-.821-2.62-2.064-3.245l-3.137-1.577a4 4 0 0 0-3.594 0L7.248 4.668c-1.243.626-2.082 1.854-2.064 3.245c.014 1.024.088 2.265.31 3.426c.044.232.137.45.264.648l2.78 4.34q.144.223.341.4c.446.395.894.757 1.31 1.075a3.26 3.26 0 0 0 3.986 0c1.444-1.105 3.278-2.743 4.075-4.434"/><path fillRule="evenodd" d="M7.248 4.669c-1.243.625-2.082 1.853-2.064 3.244c.014 1.024.088 2.265.31 3.426c.044.232.137.45.264.648l2.78 4.34q.144.223.341.4c.446.395.894.757 1.31 1.075a3.26 3.26 0 0 0 3.986 0c1.444-1.105 3.278-2.743 4.075-4.434c.724-1.536.907-3.785.93-5.455c.018-1.391-.821-2.62-2.064-3.245l-3.137-1.577a4 4 0 0 0-3.594 0zm9.193 7.846c.524-1.111.717-2.973.739-4.628c.007-.535-.318-1.107-.963-1.432L13.08 4.878a2 2 0 0 0-1.797 0L8.147 6.455c-.646.325-.97.897-.963 1.432c.013.95.08 2.045.266 3.035l2.769 4.32c.4.353.805.68 1.185.972a1.26 1.26 0 0 0 1.555 0c1.431-1.095 2.91-2.483 3.482-3.699" clipRule="evenodd"/></g><path fillRule="evenodd" d="M12.503 6.2a.5.5 0 0 0-.62-.543l-1.537.39a.5.5 0 0 0-.253.156l-4.325 4.945a.5.5 0 0 0 .047.706l1.354 1.185a.5.5 0 0 0 .706-.048L12.2 8.046a.5.5 0 0 0 .12-.271zm-.866-1.512a1.5 1.5 0 0 1 1.86 1.626l-.183 1.576a1.5 1.5 0 0 1-.361.815L8.628 13.65a1.5 1.5 0 0 1-2.117.141l-1.354-1.185a1.5 1.5 0 0 1-.142-2.116L9.34 5.545a1.5 1.5 0 0 1 .76-.466z" clipRule="evenodd"/><path fillRule="evenodd" d="M2.327 11.254a1.845 1.845 0 0 1 2.604-.174l3.123 2.732a1.845 1.845 0 1 1-2.43 2.778l-3.123-2.732a1.845 1.845 0 0 1-.174-2.604m1.945.579a.845.845 0 0 0-1.113 1.272l3.124 2.732a.845.845 0 1 0 1.112-1.272z" clipRule="evenodd"/><path fillRule="evenodd" d="m4.209 14.138l-1.843 2.108a.5.5 0 0 0 .047.705l.21.184a.5.5 0 0 0 .706-.047l1.843-2.107l.753.658l-1.843 2.108a1.5 1.5 0 0 1-2.117.141l-.21-.184a1.5 1.5 0 0 1-.142-2.117l1.843-2.107zm8.609-11.54a3.5 3.5 0 0 0-3.145 0L6.536 4.175c-1.094.55-1.804 1.614-1.788 2.792c.014 1.11.101 2.461.369 3.67l.115.498l-.974.226l-.117-.505c-.289-1.305-.378-2.734-.393-3.876c-.022-1.606.946-2.998 2.339-3.698l3.137-1.577a4.5 4.5 0 0 1 4.043 0l3.137 1.577c1.393.7 2.36 2.092 2.339 3.698c-.022 1.674-.203 4.019-.977 5.661c-.853 1.81-2.776 3.51-4.224 4.618a3.76 3.76 0 0 1-4.593 0a24 24 0 0 1-1.54-1.279l.672-.74c.498.453 1.007.867 1.475 1.225a2.76 2.76 0 0 0 3.378 0c1.441-1.102 3.186-2.678 3.927-4.25c.674-1.43.86-3.582.882-5.248c.015-1.178-.695-2.242-1.789-2.792z" clipRule="evenodd"/></g>
</svg>
);Other libraries
Sword Shield in 2 more libraries
Each library draws it its own way. Open one to compare.
Pepicons Print
More like it
Icons that share its tags, in the same style.
Search Pepicons Print
Skip the copy and paste. With Pro, your AI agent finds and installs any Pepicons Print icon from a prompt.
Get ProTags
Browse by tag
Sword Shield is tagged UI, action, icon and 3 more. Related tags follow; each opens its icons from every library.
Pricing
Pepicons Print MCP, with Pro
Ask for Sword Shield or any of 1,286 Pepicons Print 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 Sword Shield icon means and where it's used, then how to install, style, label and license it.
The sword-shield icon represents a combination of a sword and shield, symbolizing protection and strength. This icon may be used to convey a sense of defense or resilience.
The sword-shield icon appears in software applications focused on gaming, fantasy, or community-driven platforms. For instance, it may be used in games, social media, or online forums.
From a UX perspective, the sword-shield icon effectively communicates a sense of security and protection. It helps users understand that a particular feature or function provides a safeguard or defense.
Sword Shield is one of 1,286 icons in Pepicons Print, made by CyCraft and released under CC BY 4.0. It is drawn on a 20 × 20 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 SwordShieldIcon to components/icons/pepicons-print-sword-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 SwordShieldIcon 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 Sword Shield icon, or any of 1,286 Pepicons Print 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 20 × 20 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="Sword Shield", so screen readers say what it does.
Yes. SwordShieldIcon passes every SVG prop to the svg element, so <SwordShieldIcon 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 4.0 asks you to credit the author (CyCraft) where you use the icons. The full terms are in the license, linked on this page.
Yes. CC BY 4.0 asks you to credit the author where you use the icons, for example "Icons by CyCraft, CC BY 4.0" on an about or credits page.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
2 other libraries draw an icon called Sword 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 UI, action, icon, status, gaming and weapon. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Sword Shield in another set.
Pepicons Print draws many icons in several styles: Filled next to the default. Open the library and pick a style above the grid to see Sword Shield's siblings in it.
4.9 out of 5 from 150+ developers
Install Sword Shield from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro