Skip to content

Moon

The moon icon represents the lunar body or a night mode design.

Exports at 24 × 24 px

Moon icon from BoxIcons
Get Pro

Code

Moon in your framework

In any framework. Customize it above, and the code follows.

export const MoonIcon = (props: React.SVGProps<SVGSVGElement>) => (
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" {...props}>
    <path fill="currentColor" d="M20.742 13.045a8 8 0 0 1-2.077.271c-2.135 0-4.14-.83-5.646-2.336a8.03 8.03 0 0 1-2.064-7.723A1 1 0 0 0 9.73 2.034a10 10 0 0 0-4.489 2.582c-3.898 3.898-3.898 10.243 0 14.143a9.94 9.94 0 0 0 7.072 2.93a9.93 9.93 0 0 0 7.07-2.929a10 10 0 0 0 2.583-4.491a1 1 0 0 0-1.224-1.224m-2.772 4.301a7.95 7.95 0 0 1-5.656 2.343a7.95 7.95 0 0 1-5.658-2.344c-3.118-3.119-3.118-8.195 0-11.314a8 8 0 0 1 2.06-1.483a10.03 10.03 0 0 0 2.89 7.848a9.97 9.97 0 0 0 7.848 2.891a8 8 0 0 1-1.484 2.059"/>
  </svg>
);

Other libraries

Moon in 8 more libraries

Each library draws it its own way. Open one to compare.

BoxIcons

Icons that share its tags, in the same style.

  • Bxs Moon icon from BoxIcons
  • Bxs Diamond icon from BoxIcons
  • Cheese icon from BoxIcons
  • Minus icon from BoxIcons
  • Minus Back icon from BoxIcons
  • Minus Circle icon from BoxIcons
  • Minus Front icon from BoxIcons
  • Mobile icon from BoxIcons
  • Mobile Alt icon from BoxIcons
  • Mobile Landscape icon from BoxIcons
  • Mobile Vibration icon from BoxIcons
  • Money icon from BoxIcons
  • Money Withdraw icon from BoxIcons
  • Mouse icon from BoxIcons
  • Mouse Alt icon from BoxIcons
  • Move icon from BoxIcons
  • Move Horizontal icon from BoxIcons
  • Square icon from BoxIcons
  • Square Rounded icon from BoxIcons
  • Bxs Baguette icon from BoxIcons
  • Bxs Bong icon from BoxIcons
  • Bxs Book icon from BoxIcons
  • Bxs Book Add icon from BoxIcons
  • Bxs Book Alt icon from BoxIcons

Skip the copy and paste. With Pro, your AI agent finds and installs any BoxIcons icon from a prompt.

Get Pro

Pricing

BoxIcons MCP, with Pro

Ask for Moon or any of 1,609 BoxIcons icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What the Moon icon means and where it's used, then how to install, style, label and license it.

4.9 out of 5 from 150+ developers

Install Moon from a prompt

MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.

Get Pro