# Shield icon

A free shield icon in SVG, also found under security, protection and safe. Set the stroke weight and the corners, then copy the code or download the file.

- Name: shield
- Category: [Status and security](https://icons.evanpizzolato.com/categories/status/)
- Also found under: security, protection, safe, privacy, guard
- Page: https://icons.evanpizzolato.com/icons/shield/
- SVG file: https://icons.evanpizzolato.com/svg/shield.svg
- CDN: https://cdn.jsdelivr.net/gh/evanpizzolato/quick-start-icons/src/shield.svg
- License: MIT. Free for personal and commercial use. Attribution is not required.

## SVG

This is the file Copy gives you at the site defaults: square corners and a stroke weight of 1.25.

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="24" height="24" fill="none"
     stroke="currentColor" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="miter">
  <path d="M16 4 6 8v8c0 6.2 4.3 10.9 10 12 5.7-1.1 10-5.8 10-12V8l-10-4Z"/>
</svg>
```

## Use it from a CDN

The CDN file is the authored source: rounded corners, a stroke weight of 2, and no width or height. An image tag draws it in black, so paste the markup inline to color it with CSS.

```html
<img src="https://cdn.jsdelivr.net/gh/evanpizzolato/quick-start-icons/src/shield.svg" width="24" height="24" alt="">
```

## Related icons

- [lock](https://icons.evanpizzolato.com/icons/lock.md)
- [alert-octagon](https://icons.evanpizzolato.com/icons/alert-octagon.md)
- [check-circle](https://icons.evanpizzolato.com/icons/check-circle.md)
- [eye-off](https://icons.evanpizzolato.com/icons/eye-off.md)
- [eye-open](https://icons.evanpizzolato.com/icons/eye-open.md)
- [flag](https://icons.evanpizzolato.com/icons/flag.md)
- [help-circle](https://icons.evanpizzolato.com/icons/help-circle.md)
- [information](https://icons.evanpizzolato.com/icons/information.md)
