icons/Heroicons/flagOpen in browser →

flag · Heroicons

Free SVG flag icon from Heroicons. Rendered at 24×24 in the stroke 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.

flag icon — HeroiconsFree flag SVG icon from Heroicons, stroke style, MIT licensed.

Tags

  • flag
  • outline

Code

HTML / SVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path stroke-linecap="round" stroke-linejoin="round" d="M3 3v1.5M3 21v-6m0 0 2.77-.693a9 9 0 0 1 6.208.682l.108.054a9 9 0 0 0 6.086.71l3.114-.732a48.524 48.524 0 0 1-.005-10.499l-3.11.732a9 9 0 0 1-6.085-.711l-.108-.054a9 9 0 0 0-6.208-.682L3 4.5M3 15V4.5"/></svg>
React
// Run: npx sant-icons get heroicons-flag --format react
export function HeroiconsFlag(props) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" {...props}><path stroke-linecap="round" stroke-linejoin="round" d="M3 3v1.5M3 21v-6m0 0 2.77-.693a9 9 0 0 1 6.208.682l.108.054a9 9 0 0 0 6.086.71l3.114-.732a48.524 48.524 0 0 1-.005-10.499l-3.11.732a9 9 0 0 1-6.085-.711l-.108-.054a9 9 0 0 0-6.208-.682L3 4.5M3 15V4.5"/></svg>
  );
}
CLI
npx sant-icons get heroicons-flag

Properties

Name
flag
Library
Heroicons
Style
stroke
License
MIT
Version
2.2.0
Identifier
heroicons-flag

flag in other libraries

Related from Heroicons

The flag icon ships with Heroicons, an open-source icon set licensed under MIT. Search for it as "heroicons flag", "flag svg", or any of its tagged terms (flag, outline). 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 heroicons-flag directly into your project. No browser context-switch.