Mars icon
Download the Mars icon as free SVG or PNG. Customize its outline stroke. Copy React, Vue or Svelte code.
- male
- man
- gender
- masculine
- symbol
- sex
- boy
- planet
- astrology
Size
Stroke
Color
- Category
- general
- Styles
- Outline
- Component
- IconMars
- License
- MIT · Paweł Kuna
- Files
-
outline/mars.svg
Code
Copy it the way you use it
mars.svg
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M5 14a5 5 0 1 0 10 0a5 5 0 1 0 -10 0" />
<path d="M19 5l-5.4 5.4" />
<path d="M19 5l-5 0" />
<path d="M19 5l0 5" />
</svg> Use the Mars icon
For a decorative icon beside text, add aria-hidden="true" to the SVG. For an icon-only control, put its accessible name on the button or link.
React example
import { IconMars } from '@tabler/icons-react';
<IconMars size={24} stroke={2} />Read the React guideVue example
import { IconMars } from '@tabler/icons-vue';
<IconMars :size="24" :stroke="2" />Read the Vue guideSvelte 5 example
import { IconMars } from '@tabler/icons-svelte-runes';
<IconMars size={24} stroke={2} />Read the Svelte guideRelated