Mars icon
pinhead:mars
The Mars icon (pinhead:mars) is a free SVG icon from the Pinhead Map Icons set by Quincy Morgan. It is drawn on a 15 × 15 grid. Pinhead Map Icons are released under the CC0 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
- Pinhead Map Icons
- Author
- Quincy Morgan
- License
- CC0-1.0
- Size
- 15 × 15
- Tags
- mar
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><path fill="currentColor" d="M13 2v3.99a.749.749 0 1 1-1.5 0V4.56l-1.9 1.9c1.06 1.56.9 3.7-.48 5.08a4.01 4.01 0 0 1-5.66 0a4.01 4.01 0 0 1 0-5.66a4.01 4.01 0 0 1 5.08-.48l1.9-1.9H9.01c-.38 0-.69-.28-.74-.64l-.01-.11c0-.41.33-.75.75-.75zM4.52 6.94c-.97.98-.97 2.56 0 3.54c.98.97 2.56.97 3.54 0c.98-.98.98-2.56 0-3.54s-2.56-.98-3.54 0"/></svg>How to use the Mars icon
React
import { Icon } from "@iconify/react";
<Icon icon="pinhead:mars" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="pinhead:mars" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="pinhead:mars" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[pinhead--mars]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/pinhead -->
<div class="i-pinhead:mars"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="pinhead:mars"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/pinhead/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. Pinhead Map Icons are released under the CC0 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="pinhead: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/pinhead/mars.svg" alt="Mars icon">, or paste the SVG code inline to style it with CSS.