ICONYZ
English
Mars icon from Circle Flags

Mars icon

circle-flags:mars

The Mars icon (circle-flags:mars) is a free SVG icon from the Circle Flags set by HatScripts. It is drawn on a 512 × 512 grid. Circle Flags icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Circle Flags
Author
HatScripts
License
MIT
Size
512 × 512
Tags
mar
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><mask id="SVGuywqVbel"><circle cx="256" cy="256" r="256" fill="#fff"/></mask><g mask="url(#SVGuywqVbel)"><path fill="#6da544" d="M170 0h172l32 256l-32 256H170l-32-256Z"/><path fill="#d80027" d="M0 0h170v512H0Z"/><path fill="#0052b4" d="M342 0h170v512H342Z"/></g></svg>

How to use the Mars icon

React

import { Icon } from "@iconify/react";

<Icon icon="circle-flags:mars" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="circle-flags:mars" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="circle-flags:mars" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[circle-flags--mars]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/circle-flags -->
<div class="i-circle-flags:mars"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="circle-flags:mars"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/circle-flags/mars.svg" alt="Mars icon" width="24" height="24">

Mars icon in other icon sets

Mars icon FAQ

Is the Mars icon free for commercial use?

Yes. Circle Flags icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Mars icon in React?

Install @iconify/react and render <Icon icon="circle-flags:mars" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Mars icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/circle-flags/mars.svg" alt="Mars icon">, or paste the SVG code inline to style it with CSS.

Browse all Circle Flags icons →