ICONYZ
English
Shield icon from Majesticons

Shield icon

majesticons:shield

The Shield icon (majesticons:shield) is a free SVG icon from the Majesticons set by Gerrit Halfmann. It is drawn on a 24 × 24 grid. Majesticons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Majesticons
Author
Gerrit Halfmann
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M12.707 2.293a1 1 0 0 0-1.414 0c-.81.81-1.973 1.29-3.183 1.54c-1.202.248-2.347.246-3 .173A1 1 0 0 0 4 5v9c0 1.3.568 2.449 1.304 3.395c.738.948 1.697 1.763 2.615 2.419a22 22 0 0 0 3.66 2.093l.018.008l.006.003h.003a1 1 0 0 0 .788.001L12 21c.394.92.395.919.395.919l.002-.001l.005-.003l.02-.008l.065-.029a22 22 0 0 0 1.07-.523a22 22 0 0 0 2.524-1.541c.918-.656 1.877-1.47 2.615-2.419C19.432 16.45 20 15.3 20 14V5a1 1 0 0 0-1.11-.994c-.653.073-1.798.075-3-.173c-1.21-.25-2.373-.73-3.183-1.54M12 21l-.394.919z" clip-rule="evenodd"/></svg>

How to use the Shield icon

React

import { Icon } from "@iconify/react";

<Icon icon="majesticons:shield" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="majesticons:shield" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="majesticons:shield" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[majesticons--shield]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/majesticons -->
<div class="i-majesticons:shield"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="majesticons:shield"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/majesticons/shield.svg" alt="Shield icon" width="24" height="24">

Related icons in Majesticons

Shield icon in other icon sets

Shield icon FAQ

Is the Shield icon free for commercial use?

Yes. Majesticons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Shield icon in React?

Install @iconify/react and render <Icon icon="majesticons:shield" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Shield icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/majesticons/shield.svg" alt="Shield icon">, or paste the SVG code inline to style it with CSS.

Browse all Majesticons →