Flag Mexico
The flag-mexico icon represents the flag of Mexico, a country located in North America.
Exports at 24 × 24 px
Code
Flag Mexico in your framework
In any framework. Customize it above, and the code follows.
export const FlagMexicoIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 36 36" {...props}>
<path fill="#006847" d="M4 5a4 4 0 0 0-4 4v18a4 4 0 0 0 4 4h7V5z"/><path fill="#ce1126" d="M32 5h-7v26h7a4 4 0 0 0 4-4V9a4 4 0 0 0-4-4"/><path fill="#eee" d="M11 5h14v26H11z"/><path fill="#a6d388" d="M23 18a5 5 0 1 1-10 0h-1a6 6 0 0 0 12 0z"/><path fill="#5c913b" d="M13.543 20.269a.5.5 0 0 0-.673-.218a.5.5 0 0 0-.219.673q.135.266.296.516v.001l.004.006v.001l.008.011v.001l.003.006l.001.002l.004.005v.001l.003.005v.002l.003.005l.001.002l.003.005l.001.002l.003.004l.002.003l.002.003l.001.003l.003.005l.001.001l.002.003l.003.006l.001.002l.003.005l.001.002l.007.01v.001l.005.007v.001q.078.114.161.226a.497.497 0 0 0 .697.101a.5.5 0 0 0 .103-.699a6 6 0 0 1-.43-.71m-.497-1.582a5 5 0 0 1-.046-.833a.5.5 0 0 0-.485-.514l-.036.001a.5.5 0 0 0-.478.485a8 8 0 0 0-.001.311v.09l.001.005v.028l.001.003l-.001.002v.003l.001.002v.029l.001.003v.011l.001.019l.001.009v.011q.014.24.046.477a.5.5 0 0 0 .562.425a.503.503 0 0 0 .433-.567m5.294 4.3l-.006.001l-.124.008a5 5 0 0 1-.71-.021a.5.5 0 0 0-.1.995l.125.011l.004.001l.002-.001l.003.001h.002l.006.001h.006l.003.001h.001l.006-.001l.003.001h.005l.006.001l.005.001h.013l.006.001h.013q.228.016.459.012h.039l.007-.001l.006.001h.015l.005-.001h.019l.006-.001h.001l.005.001l.001-.001l.006.001h.001l.005-.001h.008l.006-.001h.006l.001.001l.006-.001h.007l.005-.001h.02l.005-.001h.004l.004-.001l.004.001h.005l.004-.001h.005l.127-.007a.494.494 0 0 0 .453-.526a.493.493 0 0 0-.514-.473m-2.439-.448a5 5 0 0 1-.724-.411a.5.5 0 0 0-.303-.087a.5.5 0 0 0-.263.911l.001.001l.006.003l.006.006l.006.004l.006.005q.4.272.842.476a.5.5 0 0 0 .663-.243a.5.5 0 0 0-.24-.665m5.03-.398a.5.5 0 0 0-.248.08a5 5 0 0 1-.734.387a.498.498 0 0 0 .213.96a.5.5 0 0 0 .173-.038l.134-.06h.002l.006-.004l.002-.001l.004-.002h.004l.004-.002l.002-.002l.006-.001l.002-.002l.003-.002l.005-.002l.003-.001l.005-.002l.002-.001l.005-.002l.002-.001q.003-.003.005-.003l.002-.001l.006-.003h.002l.006-.003l.006-.003l.002-.001l.005-.003l.002-.001l.006-.003l.001-.001l.007-.001l.007-.004l.002-.001l.004-.003h.002l.006-.004l.008-.002l.006-.004h.001l.007-.004l.001-.001l.014-.006l.007-.003l.014-.008l.008-.003l.006-.003h.001l.014-.008v-.001l.006-.002h.001l.022-.012l.007-.002l.014-.008l.007-.004h.001q.001-.002.007-.002q.003-.004.006-.005l.008-.004l.006-.003v-.001l.014-.006h.001l.007-.004l.001-.001l.005-.003h.001l.007-.004l.006-.003h.002l.006-.004v-.001l.007-.003l.001-.001l.006-.003v-.001l.006-.002l.002-.001l.004-.003l.003-.001l.005-.003l.002-.001l.005-.003l.002-.001l.006-.002q-.001-.001.001-.001l.006-.003l.002-.001l.004-.003l.002-.001l.006-.003l.002-.001q0-.002.004-.003l.003-.001l.004-.002l.003-.002l.004-.002l.003-.002l.003-.002l.003-.003l.005-.001l.004-.001l.002-.002l.004-.002l.004-.003l.002-.001l.004-.002l.004-.003l.003-.002q.002.001.005-.001l.002-.002l.004-.002l.003-.002l.003-.002l.004-.002l.004-.003l.002-.001q.004 0 .008-.003q-.003-.001 0-.001l.004-.002l.007-.005l.002-.001l.007-.003v-.001l.012-.006l.008-.005l.02-.011h.001q.096-.057.19-.117a.5.5 0 0 0 .152-.69a.55.55 0 0 0-.457-.225m2.571-4.618l-.024.001a.5.5 0 0 0-.479.498c0 .277-.025.557-.072.829a.5.5 0 0 0 .987.168v-.005l.001-.002l.001-.002l-.001-.002l.001-.002v-.002l.001-.002v-.003l.001-.002v-.009l.002-.004v-.006a6 6 0 0 0 .052-.391l-.001-.001l.001-.003v-.001l.001-.004v-.011l.002-.003v-.001l-.001-.003v-.002l.001-.003v-.004l.002-.001l-.002-.003v-.004q.003-.002.002-.003v-.019l.002-.003v-.001a6 6 0 0 0 .021-.495a.5.5 0 0 0-.498-.499m-.443 2.696a.5.5 0 0 0-.68.196a5 5 0 0 1-.463.692a.5.5 0 0 0 .783.622q.175-.22.33-.455q.004-.01.011-.02l.001-.001l.004-.006v-.001l.004-.007q.004-.003.004-.006l.001.001l.004-.006v-.001l.003-.007l.002-.001l.004-.006v-.001l.003-.005l.001-.001l.004-.006l.001-.002l.002-.005l.003-.002l.002-.005h.002l.002-.006l.001-.002l.004-.004l.001-.002q0-.003.003-.005l.001-.003l.004-.003q0-.002.002-.003v-.004l.003-.002l.003-.005l.001-.002l.003-.006l.002-.002l.002-.004l.002-.003q0-.002.002-.003q0-.002.002-.003l.003-.005l.001-.003l.002-.003l.002-.003q.003-.002.002-.003q.003-.001.002-.004l.002-.003l.003-.004l.003-.004v-.003l.002-.003l.003-.004l.003-.003v-.003l.004-.005v-.003q.003-.001.003-.004l.002-.002l.002-.003l.003-.005l.002-.003v-.002l.004-.005q0-.002.002-.003l.001-.003l.003-.004l.002-.004l.002-.003l.002-.004q0-.002.002-.002l.002-.005l.002-.002l.002-.006l.002-.001l.002-.004l.002-.002l.002-.005l.002-.002l.002-.006q.002-.002 0-.002l.004-.005l.001-.002l.004-.005v-.001l.003-.006l.002-.002l.002-.006v-.001l.005-.005l.003-.006v-.001l.004-.007l.002-.001l.025-.047a.5.5 0 0 0-.199-.672"/><ellipse cx="18" cy="21" fill="#55acee" rx="3" ry="1"/><ellipse cx="18.5" cy="21" fill="#ffcc4d" rx="1.5" ry="1"/><path fill="#5c913b" d="M19.117 21.274a.503.503 0 0 1-.44-.739q.24-.442.502-.795a10 10 0 0 1-.43.009c-.276 0-.528-.225-.528-.501s.195-.5.472-.5l.082.001c.296 0 .6-.018.872-.043a.49.49 0 0 1 .41.156q.02-.017.043-.031q.15-.099.28-.161a.5.5 0 0 1 .211-.094l.036-.007c.188-.061.32-.069.373-.069a.498.498 0 0 1 .477.647c-.082.266-.265.326-.586.39a1.2 1.2 0 0 0-.238.128a.51.51 0 0 1-.599-.034a.5.5 0 0 1-.002.614q-.256.327-.496.768a.5.5 0 0 1-.439.261m-1.42-1.589l-.066-.004a7 7 0 0 1-1.056-.221a.5.5 0 0 1-.337-.622l.006-.02l-.012.023a.5.5 0 0 1-.681.192a4 4 0 0 1-.907-.681a.5.5 0 0 1 .707-.707q.297.297.688.515a.5.5 0 0 1 .229.597a.5.5 0 0 1 .59-.256c.276.082.579.145.9.188a.5.5 0 0 1-.061.996m-2.452-2.339c-.426 0-.977-.165-1.311-.559c-.512-.604-.813-1.379-.767-1.973c.012-.159-.143-.287-.295-.327c-.087-.023-.24-.037-.312.118a.25.25 0 0 1-.454-.21c.156-.339.506-.49.892-.392c.358.093.701.415.667.85c-.036.462.226 1.109.65 1.61c.223.264.611.371.875.381c.215.011.324-.038.347-.059c-.056-.133-.797-.523-1.113-.689c-.269-.141-.349-.335-.369-.472c-.067-.455.4-.916.852-1.36c.159-.157.31-.305.392-.414c.093-.123.078-.205.06-.256c-.069-.187-.368-.372-.728-.452q-.501-.112-.668-.479c-.145-.321-.068-.741.234-1.285a.25.25 0 1 1 .437.243c-.285.512-.257.744-.215.837q.063.138.32.195c.423.094.932.345 1.088.767c.089.241.044.501-.128.73c-.104.139-.268.3-.441.471c-.258.254-.739.727-.708.931c.006.042.061.079.107.102c.751.394 1.25.679 1.352 1.028a.46.46 0 0 1-.042.359c-.097.169-.299.273-.585.299q-.065.006-.137.006"/><ellipse cx="19.5" cy="18" fill="#ffcc4d" rx=".5" ry="1"/><path fill="#ffcc4d" d="M17.292 17.188c0 .288-.345.521-.771.521c-.425 0-.771-.233-.771-.521s.345-.521.771-.521c.425 0 .771.233.771.521m-1.187-4.627c.05.212-.227.46-.619.553s-.75-.004-.801-.216c-.05-.213.227-.461.618-.554c.393-.092.752.004.802.217"/><path fill="#c1694f" d="M22.533 17.955c.09.07.243-.729.22-.978c0-.017-.029-.546.083-.924c.069-.128.073-1.083-.033-1.334c.084-.007.185-.034.197-.136c-.388.143-.479-.817-.852-1.369c-.362-.553-.811-.875-1.28-1.211a1 1 0 0 1 .162-.27c-.575.288-1.471-.755-2.795-.677c-.297.029-.438.047-.514.229c-.247.02-.498.076-.498.401c0 .078.071.22.229.221c.216.063.392.014.539.316l.039.312s-.193-.247-.299-.286l.065-.133c-.1-.058-.277-.011-.277-.011s-.385-.18-.694-.132l-.06-.25c-.054.154-.175.146-.192.291c-.034-.104-.079-.233-.111-.337c-.109.148-.077.308-.116.462c-.042.036-.128.037-.15-.062c-.011-.122-.026-.133-.026-.278c-.078.137-.172.204-.203.439l-.083-.26c.003.307-.261.49-.511.707c-.071.13.011.131.017.198l.132.066l.237-.017c.039.049.007.053.11.084c.276.077.62-.254.89.267c-.124.104-.249.347-.209.393c.05 0-.1.07.102.006c-.21.204-.352.473-.352.489c-.024.058.084-.008.062.097l.05-.006c-.479.518-.016 1.075-.067 1.374c.08.129.09-.003.19-.016c.084.368.326.591.474.882l-.312.003c.007.138.132.269.231.39l-.209.066a1.1 1.1 0 0 0-.352.274c-.069.168.333.208.527.238l-.007.203c.303.029.653-.061.653-.078l.076-.059l.171.094c.057 0 .146-.228.105-.403c.11.131.214.342.324.474l.103-.014c.094.149.223.297.317.446l.105.04c.061-.021.113-.028.146-.148l.048.084l.166-.114l.116-.023l.087.142c.051-.019.101-.13.104-.248c.052.103.066.095.104.122l.077-.162l.415.388l.314.018c.112.076.419.124.471.001c.252.108.549-.014.534-.134c.232.092.589.03.589.015c.043-.005.153-.113.049-.194c-.767-.534-1.904-1.418-2.343-1.631c0-.158-.119-.727-.247-.883l.104-.174c.299.279.407.252.566.296c.17.135.229.34.399.527l.152.028a2.6 2.6 0 0 0-.554-.873c.164.082.436.301.618.46c.12.201.155.361.265.613c.08.051.162.238.151.083c-.019-.291-.224-.752-.224-.785c.326.258.322.66.421.905c.083.124.125.29.161.251l-.096-.756l-.056-.277c.241.139.327.669.44 1.305c0 .101.041.212.035.277c.052.064.111.241.11.136c0 0 0-1.034-.071-1.271c-.018-.127.03-.333.03-.333c.088.429.182.894.271 1.322v.315l.132.133c.025-.26.055-.518.081-.776l-.099-.925v-.264c-.002-.093.085-.076.14.03c.013.227.013.404.022.63c.039.258.066.447.085.776c.011.266.023.904.079.893"/>
</svg>
);Twitter Emoji
More like it
Icons that share its tags, in the same style.
Search Twitter Emoji
Skip the copy and paste. With Pro, your AI agent finds and installs any Twitter Emoji icon from a prompt.
Get ProTags
Browse by tag
Flag Mexico is tagged symbol, country, geography and 1 more. Related tags follow; each opens its icons from every library.
Pricing
Twitter Emoji MCP, with Pro
Ask for Flag Mexico or any of 4,169 Twitter Emoji 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.
- 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 Mexico icon means and where it's used, then how to install, style, label and license it.
The flag-mexico icon represents the flag of Mexico, a country located in North America. The flag features three colors: green, white, and red, with an eagle devouring a serpent on a cactus in the center.
The flag-mexico icon can be used in various software applications, such as educational resources, travel guides, or geographic information systems, to represent Mexico. For example, it may appear in a country's profile section or as a symbol for Mexican culture.
From a UX perspective, the flag-mexico icon communicates a sense of national pride and cultural identity. It can help users quickly recognize Mexico and distinguish it from other countries.
Flag Mexico is one of 4,169 icons in Twitter Emoji, made by Twitter and released under CC BY 4.0. It is drawn on a 36 × 36 grid.
Sign in (it's free), then open Get icon, Install with shadcn CLI, and pick your package manager to copy the command. It adds FlagMexicoIcon to components/icons/twemoji-flag-mexico.tsx: one file, a size prop (24 by default) and every SVG prop, with no icon package.
Copy it as React (from Get icon, or the Code section): a typed FlagMexicoIcon component you paste into your project, with no package to install. Only the icons you import reach your bundle. It works in Next.js and any React app.
Open Get icon, then Copy as code, and pick Vue, Svelte, Angular, Solid or Preact; the Code section shows each one too. Every version is one self-contained component with the SVG inside, and SVG and data URL copies are there for plain HTML and CSS.
With Pro, the shadcn.io MCP server lets Claude Code, Cursor or any MCP client find the Flag Mexico icon, or any of 4,169 Twitter Emoji icons, and install it from a prompt.
It's multicolor, so it keeps its own colors.
Set width and height on the component, or a class like size-6. It's drawn on a 36 × 36 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It keeps its own colors in light and dark mode, so check it against both backgrounds. The icon is a vector, so it needs no separate dark asset.
Next to a visible label it's decoration: add aria-hidden="true" so screen readers skip it. Standing alone, as in an icon button, give the button a name instead, like aria-label="Flag Mexico", so screen readers say what it does.
Yes. FlagMexicoIcon passes every SVG prop to the svg element, so <FlagMexicoIcon aria-hidden="true" /> works, and so do role="img" with aria-label, or a title child, when it carries meaning on its own.
Yes. Open Get icon, then Download file: SVG for code or design tools like Figma; PNG, WebP or JPEG at 512px; or an ICO favicon with 16, 32 and 48px inside. Each one uses what you set in Customize.
Yes, with credit: CC BY 4.0 asks you to credit the author (Twitter) where you use the icons. The full terms are in the license, linked on this page.
Yes. CC BY 4.0 asks you to credit the author where you use the icons, for example "Icons by Twitter, CC BY 4.0" on an about or credits page.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
Its tags are symbol, country, geography and national. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Flag Mexico in another set.
Twitter Emoji draws many icons in several styles: Light next to the default. Open the library and pick a style above the grid to see Flag Mexico's siblings in it.
4.9 out of 5 from 150+ developers
Install Flag Mexico from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro