Moon Crater icon
boxicons:moon-crater
The Moon Crater icon (boxicons:moon-crater) is a free SVG icon from the Boxicons set. It is drawn on a 24 × 24 grid. Boxicons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10s10-4.49 10-10S17.51 2 12 2m0 18c-4.41 0-8-3.59-8-8c0-2.58 1.23-4.86 3.12-6.33C7.4 6.44 8.13 7 9 7c1.1 0 2-.9 2-2c0-.32-.08-.63-.22-.9c.4-.06.81-.1 1.22-.1c4.41 0 8 3.59 8 8s-3.59 8-8 8"/><path fill="currentColor" d="M14.5 7C12.57 7 11 8.57 11 10.5s1.57 3.5 3.5 3.5s3.5-1.57 3.5-3.5S16.43 7 14.5 7m0 5c-.83 0-1.5-.67-1.5-1.5S13.67 9 14.5 9s1.5.67 1.5 1.5s-.67 1.5-1.5 1.5m-3 3a1.5 1.5 0 1 0 0 3a1.5 1.5 0 1 0 0-3M7 11a1 1 0 1 0 0 2a1 1 0 1 0 0-2"/></svg>How to use the Moon Crater icon
React
import { Icon } from "@iconify/react";
<Icon icon="boxicons:moon-crater" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="boxicons:moon-crater" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="boxicons:moon-crater" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--moon-crater]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/boxicons -->
<div class="i-boxicons:moon-crater"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="boxicons:moon-crater"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/boxicons/moon-crater.svg" alt="Moon Crater icon" width="24" height="24">Related icons in Boxicons
moon
moon-crater-filled
moon-filled
moon-phase-0
moon-phase-0-filled
moon-phase-1
moon-phase-1-filled
moon-phase-2
moon-phase-2-filled
moon-phase-3
moon-phase-3-filled
moon-phase-4
moon-phase-4-filled
moon-phase-5
moon-phase-5-filled
moon-phase-6
moon-phase-6-filled
moon-star
moon-star-filled
moon-stars
moon-stars-filled
Moon Crater icon in other icon sets
Moon Crater icon FAQ
Is the Moon Crater icon free for commercial use?
Yes. Boxicons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Moon Crater icon in React?
Install @iconify/react and render <Icon icon="boxicons:moon-crater" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Moon Crater icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/boxicons/moon-crater.svg" alt="Moon Crater icon">, or paste the SVG code inline to style it with CSS.