Shield icon
Download the Shield icon as free SVG or PNG. Compare outline and filled styles. Copy React, Vue or Svelte code.
- security
- protection
- protect
- guard
- safety
- secure
- defense
- antivirus
Style
Size
Stroke
Filled icons have no stroke
Color
- Category
- general
- Styles
- Outline, filled
- Component
- IconShield
- License
- MIT · Paweł Kuna
Code
Copy it the way you use it
shield.svg
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M12 3a12 12 0 0 0 8.5 3a12 12 0 0 1 -8.5 15a12 12 0 0 1 -8.5 -15a12 12 0 0 0 8.5 -3" />
</svg> Use the Shield icon
For a decorative icon beside text, add aria-hidden="true" to the SVG. For an icon-only control, put its accessible name on the button or link.
React example
import { IconShield } from '@tabler/icons-react';
<IconShield size={24} stroke={2} />Read the React guideVue example
import { IconShield } from '@tabler/icons-vue';
<IconShield :size="24" :stroke="2" />Read the Vue guideSvelte 5 example
import { IconShield } from '@tabler/icons-svelte-runes';
<IconShield size={24} stroke={2} />Read the Svelte guideCompare variants and alternatives
Related