flag icon
flag from Font Awesome Solid by Dave Gandy · Solid · Interfaces · CC-BY-4.0 Attribution required.
- Name
- flag
- Set
- Font Awesome Solid
- Style
- Solid
- Category
- Interfaces
- Viewbox
- 640×640
- License
- CC BY 4.0
The same icon in other sets
flagAkar Iconsflag-filledAnt Design IconsflagBootstrap IconsflagBoxIcons v2flagBoxIcons v2 SolidflagCarbonflagCodiconsflagElement Plusflag-fillEva IconsflagFramework7 IconsflagFont Awesome 6 RegularflagFont Awesome 6 SolidflagFont Awesome RegularflagFeather Iconsflag-outlineFlowbite Iconsflag-16-filledFluent UI System Iconsflag-16Fluent UI System Color Iconsflagcss.ggflagHeroIconsflagHumbleiconsflagIconParkflagIconPark OutlineflagIconPark SolidflagIconPark TwoTone
More interfaces icons from Font Awesome Solid
Use the flag icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 640 640"><path fill="currentColor" d="M160 96c0-17.7-14.3-32-32-32S96 78.3 96 96v448c0 17.7 14.3 32 32 32s32-14.3 32-32V422.4l62.7-18.8c41.9-12.6 87.1-8.7 126.2 10.9c42.7 21.4 92.5 24 137.2 7.2l37.1-13.9c12.5-4.7 20.8-16.6 20.8-30V130.1c0-23-24.2-38-44.8-27.7l-11.8 5.9c-44.9 22.5-97.8 22.5-142.8 0c-36.4-18.2-78.3-21.8-117.2-10.1L160 118.4z"/></svg>
React
import type { SVGProps } from "react";
export function Fa7SolidFlag(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 640 640"><path fill="currentColor" d="M160 96c0-17.7-14.3-32-32-32S96 78.3 96 96v448c0 17.7 14.3 32 32 32s32-14.3 32-32V422.4l62.7-18.8c41.9-12.6 87.1-8.7 126.2 10.9c42.7 21.4 92.5 24 137.2 7.2l37.1-13.9c12.5-4.7 20.8-16.6 20.8-30V130.1c0-23-24.2-38-44.8-27.7l-11.8 5.9c-44.9 22.5-97.8 22.5-142.8 0c-36.4-18.2-78.3-21.8-117.2-10.1L160 118.4z"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 640 640"><path fill="currentColor" d="M160 96c0-17.7-14.3-32-32-32S96 78.3 96 96v448c0 17.7 14.3 32 32 32s32-14.3 32-32V422.4l62.7-18.8c41.9-12.6 87.1-8.7 126.2 10.9c42.7 21.4 92.5 24 137.2 7.2l37.1-13.9c12.5-4.7 20.8-16.6 20.8-30V130.1c0-23-24.2-38-44.8-27.7l-11.8 5.9c-44.9 22.5-97.8 22.5-142.8 0c-36.4-18.2-78.3-21.8-117.2-10.1L160 118.4z"/></svg> </template>
CSS
.icon-flag {
width: 24px;
height: 24px;
background-color: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%20640%20640%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M160%2096c0-17.7-14.3-32-32-32S96%2078.3%2096%2096v448c0%2017.7%2014.3%2032%2032%2032s32-14.3%2032-32V422.4l62.7-18.8c41.9-12.6%2087.1-8.7%20126.2%2010.9c42.7%2021.4%2092.5%2024%20137.2%207.2l37.1-13.9c12.5-4.7%2020.8-16.6%2020.8-30V130.1c0-23-24.2-38-44.8-27.7l-11.8%205.9c-44.9%2022.5-97.8%2022.5-142.8%200c-36.4-18.2-78.3-21.8-117.2-10.1L160%20118.4z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%20640%20640%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M160%2096c0-17.7-14.3-32-32-32S96%2078.3%2096%2096v448c0%2017.7%2014.3%2032%2032%2032s32-14.3%2032-32V422.4l62.7-18.8c41.9-12.6%2087.1-8.7%20126.2%2010.9c42.7%2021.4%2092.5%2024%20137.2%207.2l37.1-13.9c12.5-4.7%2020.8-16.6%2020.8-30V130.1c0-23-24.2-38-44.8-27.7l-11.8%205.9c-44.9%2022.5-97.8%2022.5-142.8%200c-36.4-18.2-78.3-21.8-117.2-10.1L160%20118.4z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/fa7-solid/flag.svg?color=%231a73e8&size=48