Mars icon
fa:mars
The Mars icon (fa:mars) is a free SVG icon from the Font Awesome 4 set by Dave Gandy. It is drawn on a 1536 × 1536 grid. Font Awesome 4 icons are released under the Open Font 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
- Font Awesome 4
- Author
- Dave Gandy
- License
- OFL-1.1
- Size
- 1536 × 1536
- Tags
- mar
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="1536" height="1536" viewBox="0 0 1536 1536"><path fill="currentColor" d="M1472 0q26 0 45 19t19 45v416q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23V218l-382 383q126 156 126 359q0 117-45.5 223.5t-123 184t-184 123T576 1536t-223.5-45.5t-184-123t-123-184T0 960t45.5-223.5t123-184t184-123T576 384q203 0 359 126l382-382h-261q-14 0-23-9t-9-23V32q0-14 9-23t23-9zM576 1408q185 0 316.5-131.5T1024 960T892.5 643.5T576 512T259.5 643.5T128 960t131.5 316.5T576 1408"/></svg>How to use the Mars icon
React
import { Icon } from "@iconify/react";
<Icon icon="fa:mars" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fa:mars" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fa:mars" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fa--mars]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fa -->
<div class="i-fa:mars"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fa:mars"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fa/mars.svg" alt="Mars icon" width="24" height="24">Related icons in Font Awesome 4
Mars icon in other icon sets
Mars icon FAQ
Is the Mars icon free for commercial use?
Yes. Font Awesome 4 icons are released under the Open Font 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="fa: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/mars.svg" alt="Mars icon">, or paste the SVG code inline to style it with CSS.