moon from Unicons by Iconscout · Line · Weather · Apache-2.0 Free for personal and commercial use.

Name
moon
Set
Unicons
Style
Line
Category
Weather
Viewbox
24×24
License
Apache 2.0

The same icon in other sets

More weather icons from Unicons

Use the moon icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M21.64 13a1 1 0 0 0-1.05-.14a8.05 8.05 0 0 1-3.37.73a8.15 8.15 0 0 1-8.14-8.1a8.6 8.6 0 0 1 .25-2A1 1 0 0 0 8 2.36a10.14 10.14 0 1 0 14 11.69a1 1 0 0 0-.36-1.05m-9.5 6.69A8.14 8.14 0 0 1 7.08 5.22v.27a10.15 10.15 0 0 0 10.14 10.14a9.8 9.8 0 0 0 2.1-.22a8.11 8.11 0 0 1-7.18 4.32Z"/></svg>

React

import type { SVGProps } from "react";

export function UilMoon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M21.64 13a1 1 0 0 0-1.05-.14a8.05 8.05 0 0 1-3.37.73a8.15 8.15 0 0 1-8.14-8.1a8.6 8.6 0 0 1 .25-2A1 1 0 0 0 8 2.36a10.14 10.14 0 1 0 14 11.69a1 1 0 0 0-.36-1.05m-9.5 6.69A8.14 8.14 0 0 1 7.08 5.22v.27a10.15 10.15 0 0 0 10.14 10.14a9.8 9.8 0 0 0 2.1-.22a8.11 8.11 0 0 1-7.18 4.32Z"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M21.64 13a1 1 0 0 0-1.05-.14a8.05 8.05 0 0 1-3.37.73a8.15 8.15 0 0 1-8.14-8.1a8.6 8.6 0 0 1 .25-2A1 1 0 0 0 8 2.36a10.14 10.14 0 1 0 14 11.69a1 1 0 0 0-.36-1.05m-9.5 6.69A8.14 8.14 0 0 1 7.08 5.22v.27a10.15 10.15 0 0 0 10.14 10.14a9.8 9.8 0 0 0 2.1-.22a8.11 8.11 0 0 1-7.18 4.32Z"/></svg>
</template>

CSS

.icon-moon {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M21.64%2013a1%201%200%200%200-1.05-.14a8.05%208.05%200%200%201-3.37.73a8.15%208.15%200%200%201-8.14-8.1a8.6%208.6%200%200%201%20.25-2A1%201%200%200%200%208%202.36a10.14%2010.14%200%201%200%2014%2011.69a1%201%200%200%200-.36-1.05m-9.5%206.69A8.14%208.14%200%200%201%207.08%205.22v.27a10.15%2010.15%200%200%200%2010.14%2010.14a9.8%209.8%200%200%200%202.1-.22a8.11%208.11%200%200%201-7.18%204.32Z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M21.64%2013a1%201%200%200%200-1.05-.14a8.05%208.05%200%200%201-3.37.73a8.15%208.15%200%200%201-8.14-8.1a8.6%208.6%200%200%201%20.25-2A1%201%200%200%200%208%202.36a10.14%2010.14%200%201%200%2014%2011.69a1%201%200%200%200-.36-1.05m-9.5%206.69A8.14%208.14%200%200%201%207.08%205.22v.27a10.15%2010.15%200%200%200%2010.14%2010.14a9.8%209.8%200%200%200%202.1-.22a8.11%208.11%200%200%201-7.18%204.32Z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/uil/moon.svg?color=%231a73e8&size=48