All Octicons

shield

Octicon sizes navigation

Usage

You can use this icon in React, Ruby, Jekyll, or Figma. Here are code examples for each:

React

import {ShieldIcon} from '@primer/octicons-react'


<ShieldIcon size={16} />

Rails

<%= render(Primer::Beta::Octicon.new(:shield, size: :small)) %>

Jekyll

{% octicon shield height:16 %}

Figma

This icon is called shield in Primer's Octicons library.