- Category
- weather
- Styles
- Outline
- Component
- IconMoon2
- License
- MIT · Paweł Kuna
- Files
-
outline/moon-2.svg
Moon 2 icon
Download the Moon 2 icon as free SVG or PNG. Customize its outline stroke. Copy React, Vue or Svelte code.
- night
- dark-mode
- dark
- theme
- crescent
- sleep
- lunar
- evening
- moon
- weather
Size
Stroke
Color
Code
Copy it the way you use it
moon-2.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="M16.418 4.157a8 8 0 0 0 0 15.686" />
<path d="M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" />
</svg> Use the Moon 2 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 { IconMoon2 } from '@tabler/icons-react';
<IconMoon2 size={24} stroke={2} />Read the React guideVue example
import { IconMoon2 } from '@tabler/icons-vue';
<IconMoon2 :size="24" :stroke="2" />Read the Vue guideSvelte 5 example
import { IconMoon2 } from '@tabler/icons-svelte-runes';
<IconMoon2 size={24} stroke={2} />Read the Svelte guideRelated