Shield icon
andrsrxn:shield
The Shield icon (andrsrxn:shield) is a free SVG icon from the andrsrxn/icons set by Andrés Raxón. It is drawn on a 24 × 24 grid. andrsrxn/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
- andrsrxn/icons
- Author
- Andrés Raxón
- License
- MIT
- Size
- 24 × 24
- Category
- Security
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path fill="currentColor" d="M11.97 12.25v8.11c0 .9 0 1.34.28 1.48s.63-.14 1.34-.69l4.55-3.56q.17-.13.23-.21c.04-.07.06-.14.1-.3L21.3 7.7c.12-.38.17-.57.1-.74c-.06-.16-.24-.25-.59-.44l-4.65-2.44l-2.71-1.49c-.66-.36-.99-.54-1.23-.4c-.25.15-.25.53-.25 1.28z" opacity=".2"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M11.97 22.29V2.79M5.69 5.04a25 25 0 0 0 3.4-1.86c1.54-1 2.32-1.5 2.9-1.5c.6 0 1.37.5 2.91 1.5c1 .65 2.17 1.3 3.4 1.86c1.58.7 2.37 1.06 2.7 1.64c.32.58.23 1.23.06 2.52c-.61 4.58-2.68 9.3-7.29 12.4c-.77.52-1.16.78-1.77.78s-1-.26-1.77-.79c-4.61-3.1-6.68-7.8-7.3-12.39c-.16-1.3-.25-1.94.07-2.52c.33-.58 1.11-.93 2.69-1.64"/></g></svg>How to use the Shield icon
React
import { Icon } from "@iconify/react";
<Icon icon="andrsrxn:shield" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="andrsrxn:shield" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="andrsrxn:shield" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[andrsrxn--shield]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/andrsrxn -->
<div class="i-andrsrxn:shield"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="andrsrxn:shield"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/andrsrxn/shield.svg" alt="Shield icon" width="24" height="24">Related icons in andrsrxn/icons
Shield icon in other icon sets
Shield icon FAQ
Is the Shield icon free for commercial use?
Yes. andrsrxn/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="andrsrxn: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/andrsrxn/shield.svg" alt="Shield icon">, or paste the SVG code inline to style it with CSS.