ICONYZ
English
Shield icon from IconaMoon

Shield icon

iconamoon:shield

The Shield icon (iconamoon:shield) is a free SVG icon from the IconaMoon set by Dariush Habibpour. It is drawn on a 24 × 24 grid. IconaMoon icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
IconaMoon
Author
Dariush Habibpour
License
CC-BY-4.0
Size
24 × 24
Category
General
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="m12 3l.394-.92a1 1 0 0 0-.788 0zm0 18l-.496.868a1 1 0 0 0 .992 0zm6.394-15.26L18 6.66zM8.024 18.727l-.497.869zm3.582-16.646L5.212 4.82L6 6.66l6.394-2.74zM4 6.659v6.86h2v-6.86zm3.527 12.937l3.977 2.272l.992-1.736l-3.977-2.273zm4.97 2.272l3.976-2.272l-.992-1.737l-3.977 2.273zM20 13.518V6.66h-2v6.86zm-1.212-8.697l-6.394-2.74l-.788 1.838L18 6.66zM20 6.66a2 2 0 0 0-1.212-1.838L18 6.66zm-3.527 12.937A7 7 0 0 0 20 13.518h-2a5 5 0 0 1-2.52 4.341zM4 13.518a7 7 0 0 0 3.527 6.078l.992-1.737A5 5 0 0 1 6 13.52zm1.212-8.697A2 2 0 0 0 4 6.66h2z"/></svg>

How to use the Shield icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in IconaMoon

Shield icon in other icon sets

Shield icon FAQ

Is the Shield icon free for commercial use?

Yes. IconaMoon icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Shield icon in React?

Install @iconify/react and render <Icon icon="iconamoon: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/iconamoon/shield.svg" alt="Shield icon">, or paste the SVG code inline to style it with CSS.

Browse all IconaMoon icons →