Skip to content
shadcn.io

Flag

The flag icon represents a national flag, commonly used to indicate a country, region, or cultural identity.

Add shadcn.io to your AI agent. · Pro It installs Flag, or any of 294k icons, from a prompt, with Pro.

Set up MCP

Exports at 24 × 24 px

Flag icon from Pepicons Print

Code

Flag in your framework

In any framework. Customize it above, and the code follows.

export const FlagIcon = (props: React.SVGProps<SVGSVGElement>) => (
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 20 20" {...props}>
    <g fill="currentColor"><path d="m8 4.97l.954-.396a4 4 0 0 1 2.908.058l1.482.613a4 4 0 0 0 2.693.13l.893-.271A1.604 1.604 0 0 1 19 6.638V10.7a3.22 3.22 0 0 1-1.66 2.817l-.734.407a4 4 0 0 1-3.88 0l-.453-.251a4 4 0 0 0-3.88 0l-.226.126q-.082.045-.167.079V19a1 1 0 1 1-2 0V5a1 1 0 0 1 1-1c.81 0 1 .97 1 .97" opacity=".2"/><path fillRule="evenodd" d="m6.804 2.632l-.637.264A3.51 3.51 0 0 0 4 6.137v4.386a1.46 1.46 0 0 0 2.167 1.276l.227-.126a4 4 0 0 1 3.88 0l.453.251a4 4 0 0 0 3.88 0l.734-.407A3.22 3.22 0 0 0 17 8.7V4.638a1.605 1.605 0 0 0-2.07-1.534l-.893.272a4 4 0 0 1-2.693-.13l-1.482-.614a4 4 0 0 0-3.058 0M5 6.137c0-1.014.611-1.929 1.549-2.317l.638-.264a3 3 0 0 1 2.293 0l1.481.613a5 5 0 0 0 3.367.163l.893-.271a.604.604 0 0 1 .779.577V8.7c0 .807-.438 1.551-1.144 1.943l-.735.407a3 3 0 0 1-2.91 0l-.453-.252a5 5 0 0 0-4.85 0l-.226.126A.46.46 0 0 1 5 10.523z" clipRule="evenodd"/><path fillRule="evenodd" d="M5 2a1 1 0 0 1 1 1v14a1 1 0 1 1-2 0V3a1 1 0 0 1 1-1" clipRule="evenodd"/></g>
  </svg>
);

Other libraries

Flag in 8 more libraries

Each library draws it its own way. Open one to compare.

  • Flag icon from Material Symbols
  • Flag icon from Material Symbols Light
  • Flag icon from Phosphor
  • Flag icon from Material Design Icons
  • Flag icon from Tabler Icons
  • Flag icon from IconPark Outline
  • Flag icon from Myna UI Icons
  • Flag icon from Carbon

Pepicons Print

Icons that share its tags, in the same style.

  • Flag Circle icon from Pepicons Print
  • Flag Circle Off icon from Pepicons Print
  • Flag Off icon from Pepicons Print
  • Flag Straight icon from Pepicons Print
  • Flag Straight Circle icon from Pepicons Print
  • Flag Straight Circle Off icon from Pepicons Print
  • Flag Straight Off icon from Pepicons Print
  • Circle Big Off icon from Pepicons Print
  • Circle Circle icon from Pepicons Print
  • Circle Circle Off icon from Pepicons Print
  • Eye Frame Off icon from Pepicons Print
  • Hand Point Open Off icon from Pepicons Print
  • Line Slant Up Circle icon from Pepicons Print
  • Line Slant Up Circle Off icon from Pepicons Print
  • Line X Circle icon from Pepicons Print
  • Line X Circle Off icon from Pepicons Print
  • Power icon from Pepicons Print
  • Triangle Down Circle icon from Pepicons Print
  • Triangle Up Off icon from Pepicons Print
  • Arrow Down icon from Pepicons Print
  • Arrow Down Circle icon from Pepicons Print
  • Arrow Down Circle Off icon from Pepicons Print
  • Arrow Down Left icon from Pepicons Print
  • Arrow Down Left Circle icon from Pepicons Print

Skip the copy and paste. With Pro, your AI agent finds and installs any Pepicons Print icon from a prompt.

Get Pro

Tags

Browse by tag

Flag is tagged UI, UX, symbol and 3 more. Related tags follow; each opens its icons from every library.

Pricing

Pepicons Print MCP, with Pro

Ask for Flag or any of 1,286 Pepicons Print icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

Billed once a year in USD. Cancel anytime.

Individual

For personal projects & open source

$32instead of $49/mo

$389 billed yearly

  • How many people can use the license.Seats: 1 seat
  • Client work, SaaS products and anything you charge for.Commercial use: Personal & open source only
  • Production-ready React sections: hero, pricing, features, dashboards and more.Pro blocks: 6,000+ blocks
  • Complete multi-page sites you can ship as they are.Templates: All 14 templates
  • React icons from every major library, installable with one command.React icons: 294k+ icons
  • Presets that restyle every block, in light and dark.Themes: All 59 themes
  • Lets your AI editor search, preview and install blocks for you.MCP server: Basic usage
  • Priority requests are answered first.Support: Standard

Team

Most popular

For freelancers, agencies & startups

$66instead of $99/mo

$789 billed yearly · ≈ $13/dev/mo

Everything in Individual, plus

  • How many people can use the license.Seats: Up to 5 seats
  • Client work, SaaS products and anything you charge for.Commercial use: Included
  • Lets your AI editor search, preview and install blocks for you.MCP server: High usage
  • Priority requests are answered first.Support: Priority

Organization

For companies with larger teams

$132instead of $199/mo

$1,589 billed yearly

Everything in Team, plus

  • How many people can use the license.Seats: Unlimited seats
  • Lets your AI editor search, preview and install blocks for you.MCP server: Unlimited usage
  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What the Flag icon means and where it's used, then how to install, style and license it.

Install Flag from a prompt

MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.

Get Pro