ICONYZ
English
Shield 24 icon from Octicons

Shield 24 icon

octicon:shield-24

The Shield 24 icon (octicon:shield-24) is a free SVG icon from the Octicons set by GitHub. It is drawn on a 24 × 24 grid. Octicons 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
Octicons
Author
GitHub
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="M13 15.5a1 1 0 1 1-2 0a1 1 0 0 1 2 0m-.25-8.25a.75.75 0 0 0-1.5 0v4.5a.75.75 0 0 0 1.5 0z"/><path fill="currentColor" d="M11.46.637a1.75 1.75 0 0 1 1.08 0l8.25 2.675A1.75 1.75 0 0 1 22 4.976V10c0 6.19-3.77 10.705-9.401 12.83a1.7 1.7 0 0 1-1.198 0C5.771 20.704 2 16.19 2 10V4.976c0-.76.49-1.43 1.21-1.664Zm.617 1.426a.25.25 0 0 0-.154 0L3.673 4.74a.25.25 0 0 0-.173.237V10c0 5.461 3.28 9.483 8.43 11.426a.2.2 0 0 0 .14 0C17.22 19.483 20.5 15.46 20.5 10V4.976a.25.25 0 0 0-.173-.237Z"/></svg>

How to use the Shield 24 icon

React

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

<Icon icon="octicon:shield-24" width="24" />

Vue

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

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

Svelte

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

<Icon icon="octicon:shield-24" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="octicon:shield-24"></iconify-icon>

HTML image

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

Related icons in Octicons

Shield 24 icon in other icon sets

Shield 24 icon FAQ

Is the Shield 24 icon free for commercial use?

Yes. Octicons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Shield 24 icon in React?

Install @iconify/react and render <Icon icon="octicon:shield-24" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Shield 24 icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/octicon/shield-24.svg" alt="Shield 24 icon">, or paste the SVG code inline to style it with CSS.

Browse all Octicons →