softicons.dev

flag icon

Free flag SVG icon, MIT licensed. Copy the SVG, install for React/Vue/Angular, or download. Part of the Softicons interface set.

Setup guide
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
     fill="none" stroke="currentColor" stroke-width="2"
     stroke-linecap="round" stroke-linejoin="round">
  <path d="M4 22V4a1 1 0 0 1 .6-.9C6 2.4 8 2 10 3s4 1.4 5.4.8L20 2v12l-4.6 1.8C14 16.4 12 16 10 15s-4-.6-5.4 0"/>
</svg>
<!-- via the CDN — no build step -->
<img src="https://cdn.softicons.dev/v1/icons/interface/flag.svg"
     width="24" height="24" alt="flag icon">

<!-- …or paste the raw SVG from the SVG tab -->
import { FlagIcon } from "@softicons/react";

export default function Example() {
  return <FlagIcon size={24} strokeWidth={2} />;
}
<script setup>
import { FlagIcon } from "@softicons/vue";
</script>

<template>
  <FlagIcon :size="24" :stroke-width="2" />
</template>
import { FlagIconComponent } from "@softicons/angular";

@Component({
  standalone: true,
  imports: [FlagIconComponent],
  template: `<flag-icon [size]="24" [strokeWidth]="2" />`,
})
export class DemoComponent {}