Shield Alt 2 icon
bx:shield-alt-2
The Shield Alt 2 icon (bx:shield-alt-2) is a free SVG icon from the BoxIcons v2 set by Boxicons. It is drawn on a 24 × 24 grid. BoxIcons v2 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
- BoxIcons v2
- Author
- Boxicons
- License
- MIT
- Size
- 24 × 24
- Tags
- shieldalt, bx shield alt 2
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M21.438 5.089a1 1 0 0 0-.959.015c-.684.389-1.355.577-2.053.577c-2.035 0-3.952-1.629-5.722-3.39c-.375-.373-1.063-.373-1.438 0C9.592 3.959 7.598 5.663 5.51 5.663c-.69 0-1.351-.184-2.018-.561c-.298-.166-.658-.171-.96-.012s-.501.461-.528.801c-.011.129-.944 12.872 9.683 16.041a1 1 0 0 0 .286.042H12q.145 0 .285-.041c10.657-3.17 9.695-15.916 9.684-16.044a1 1 0 0 0-.531-.8m-9.452 14.842c-6.979-2.255-7.934-9.412-8.014-12.477q.759.21 1.537.209c2.492 0 4.65-1.567 6.476-3.283c1.893 1.788 3.983 3.301 6.442 3.301q.797 0 1.575-.22c-.074 3.065-1.021 10.217-8.016 12.47"/></svg>How to use the Shield Alt 2 icon
React
import { Icon } from "@iconify/react";
<Icon icon="bx:shield-alt-2" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="bx:shield-alt-2" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="bx:shield-alt-2" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[bx--shield-alt-2]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/bx -->
<div class="i-bx:shield-alt-2"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="bx:shield-alt-2"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/bx/shield-alt-2.svg" alt="Shield Alt 2 icon" width="24" height="24">Related icons in BoxIcons v2
Shield Alt 2 icon in other icon sets
Shield Alt 2 icon FAQ
Is the Shield Alt 2 icon free for commercial use?
Yes. BoxIcons v2 icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Shield Alt 2 icon in React?
Install @iconify/react and render <Icon icon="bx:shield-alt-2" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Shield Alt 2 icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/bx/shield-alt-2.svg" alt="Shield Alt 2 icon">, or paste the SVG code inline to style it with CSS.