icons/Octicons/shieldOpen in browser →

shield · Octicons

Free SVG shield icon from Octicons. Rendered at 24×24 in the filled style and licensed under MIT. Copy directly as SVG, React (JSX), or Vue. Download as SVG or PNG. No login, no attribution required for MIT licensed icons.

shield icon — OcticonsFree shield SVG icon from Octicons, filled style, MIT licensed.

Tags

  • shield

Code

HTML / SVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><g transform="scale(1) translate(0 0)"><path fill-rule="evenodd" d="M7 0L0 2v6.02C0 12.69 5.31 16 7 16c1.69 0 7-3.31 7-7.98V2L7 0zM5 11l1.14-2.8a.568.568 0 0 0-.25-.59C5.33 7.25 5 6.66 5 6c0-1.09.89-2 1.98-2C8.06 4 9 4.91 9 6c0 .66-.33 1.25-.89 1.61c-.19.13-.3.36-.25.59L9 11H5z" fill="currentColor"/></g></svg>
React
// Run: npx sant-icons get octicon-shield --format react
export function OcticonShield(props) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" {...props}><g transform="scale(1) translate(0 0)"><path fill-rule="evenodd" d="M7 0L0 2v6.02C0 12.69 5.31 16 7 16c1.69 0 7-3.31 7-7.98V2L7 0zM5 11l1.14-2.8a.568.568 0 0 0-.25-.59C5.33 7.25 5 6.66 5 6c0-1.09.89-2 1.98-2C8.06 4 9 4.91 9 6c0 .66-.33 1.25-.89 1.61c-.19.13-.3.36-.25.59L9 11H5z" fill="currentColor"/></g></svg>
  );
}
CLI
npx sant-icons get octicon-shield

Properties

Name
shield
Library
Octicons
Style
filled
License
MIT
Version
1.2.40
Identifier
octicon-shield

shield in other libraries

Related from Octicons

The shield icon ships with Octicons, an open-source icon set licensed under MIT. Search for it as "octicons shield", "shield svg", or any of its tagged terms (shield). The SVG is normalised to a 24×24 viewBox so you can drop it into any UI framework alongside the other icons here without scaling concerns.

Need this icon in your codebase fast? Install the MCP server for Claude Code (or any MCP-aware AI tool) and ask the model to fetch octicon-shield directly into your project. No browser context-switch.