Mars icon
fa-solid:mars
The Mars icon (fa-solid:mars) is a free SVG icon from the Font Awesome 5 Solid set by Dave Gandy. It is drawn on a 384 × 512 grid. Font Awesome 5 Solid icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Font Awesome 5 Solid
- Author
- Dave Gandy
- License
- CC-BY-4.0
- Size
- 384 × 512
- Category
- Genders
- Tags
- mar
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="384" height="512" viewBox="0 0 384 512"><path fill="currentColor" d="M372 64h-79c-10.7 0-16 12.9-8.5 20.5l16.9 16.9l-80.7 80.7c-22.2-14-48.5-22.1-76.7-22.1C64.5 160 0 224.5 0 304s64.5 144 144 144s144-64.5 144-144c0-28.2-8.1-54.5-22.1-76.7l80.7-80.7l16.9 16.9c7.6 7.6 20.5 2.2 20.5-8.5V76c0-6.6-5.4-12-12-12M144 384c-44.1 0-80-35.9-80-80s35.9-80 80-80s80 35.9 80 80s-35.9 80-80 80"/></svg>How to use the Mars icon
React
import { Icon } from "@iconify/react";
<Icon icon="fa-solid:mars" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fa-solid:mars" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fa-solid:mars" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fa-solid--mars]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fa-solid -->
<div class="i-fa-solid:mars"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fa-solid:mars"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fa-solid/mars.svg" alt="Mars icon" width="24" height="24">Related icons in Font Awesome 5 Solid
Mars icon in other icon sets
Mars icon FAQ
Is the Mars icon free for commercial use?
Yes. Font Awesome 5 Solid icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Mars icon in React?
Install @iconify/react and render <Icon icon="fa-solid: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/fa-solid/mars.svg" alt="Mars icon">, or paste the SVG code inline to style it with CSS.