ICONYZ
English
Shield icon from Prime Icons

Shield icon

prime:shield

The Shield icon (prime:shield) is a free SVG icon from the Prime Icons set by PrimeTek. It is drawn on a 24 × 24 grid. Prime Icons 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
Prime Icons
Author
PrimeTek
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" d="M12 20.75a.9.9 0 0 1-.28-.05A14.27 14.27 0 0 1 3.29 6.43a.74.74 0 0 1 .61-.69a27.1 27.1 0 0 0 7.79-2.42a.75.75 0 0 1 .62 0a27.1 27.1 0 0 0 7.79 2.42a.74.74 0 0 1 .61.69a14.27 14.27 0 0 1-8.43 14.27a.9.9 0 0 1-.28.05M4.76 7.11A12.47 12.47 0 0 0 12 19.18a12.47 12.47 0 0 0 7.24-12.07A27.6 27.6 0 0 1 12 4.82a27.6 27.6 0 0 1-7.24 2.29"/></svg>

How to use the Shield icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Shield icon in other icon sets

Shield icon FAQ

Is the Shield icon free for commercial use?

Yes. Prime Icons 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="prime: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/prime/shield.svg" alt="Shield icon">, or paste the SVG code inline to style it with CSS.

Browse all Prime Icons →