Skip to content

Moon

The moon icon represents the night or dark mode, often used as a toggle or switch to change the visual theme of a platform or application.

Exports at 24 × 24 px

Moon icon from OOUI
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 20 20" {...props}>
    <path fill="currentColor" d="M17.39 15.14A7.33 7.33 0 0 1 11.75 1.6c.23-.11.56-.23.79-.34a8.2 8.2 0 0 0-5.41.45a9 9 0 1 0 7 16.58a8.42 8.42 0 0 0 4.29-3.84a5.3 5.3 0 0 1-1.03.69"/>
  </svg>
);

Other libraries

Moon in 8 more libraries

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

OOUI

Icons that share its tags, then the ones next to it in OOUI, in the same style.

  • Bright icon from OOUI
  • Not Bright icon from OOUI
  • Appearance icon from OOUI
  • Palette Ltr icon from OOUI
  • Palette Rtl icon from OOUI
  • Network icon from OOUI
  • Network Off icon from OOUI
  • Power icon from OOUI
  • Map Pin Add icon from OOUI
  • Map Rtl icon from OOUI
  • Map Trail icon from OOUI
  • Markup icon from OOUI
  • Mathematics icon from OOUI
  • Mathematics Display Block icon from OOUI
  • Mathematics Display Default icon from OOUI
  • Mathematics Display Inline icon from OOUI
  • Menu icon from OOUI
  • Merge Ltr icon from OOUI
  • Merge Rtl icon from OOUI
  • Message icon from OOUI
  • Move icon from OOUI
  • Move First Ltr icon from OOUI
  • Move First Rtl icon from OOUI
  • Move Last Ltr icon from OOUI

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

Get Pro

Tags

Browse by tag

Moon is tagged theme, toggle, switch and 1 more. Related tags follow; each opens its icons from every library.

Pricing

OOUI MCP, with Pro

Ask for Moon or any of 370 OOUI 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