Skip to content

Dark Mode

The dark-mode icon represents a toggle or switch to enable or disable dark mode in an application.

Exports at 24 × 24 px

Dark Mode icon from IconPark TwoTone
Get Pro

Code

Dark Mode in your framework

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

export const DarkModeIcon = (props: React.SVGProps<SVGSVGElement>) => (
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 48 48" fill="none" stroke="currentColor" {...props}>
    <defs><mask id="SVGHlsFAdQb"><g fill="#555" stroke="#fff" strokeLinecap="round" strokeLinejoin="round" strokeMiterlimit="10" strokeWidth="4"><path d="m24.003 4l5.27 5.27h9.457v9.456l5.27 5.27l-5.27 5.278v9.456h-9.456L24.004 44l-5.278-5.27H9.27v-9.456L4 23.997l5.27-5.27V9.27h9.456z"/><path d="M27 17c0 8-5 9-10 9c0 4 6.5 8 12 4s2-13-2-13"/></g></mask></defs><path fill="currentColor" d="M0 0h48v48H0z" mask="url(#SVGHlsFAdQb)"/>
  </svg>
);

IconPark TwoTone

Icons that share its tags, in the same style.

  • System icon from IconPark TwoTone
  • Folder Settings icon from IconPark TwoTone
  • Folder Settings One icon from IconPark TwoTone
  • Intermediate Mode icon from IconPark TwoTone
  • Align Bottom icon from IconPark TwoTone
  • Align Bottom Two icon from IconPark TwoTone
  • Align Horizontal Center Two icon from IconPark TwoTone
  • Align Horizontally icon from IconPark TwoTone
  • Align Left icon from IconPark TwoTone
  • Align Left One icon from IconPark TwoTone
  • Align Left Two icon from IconPark TwoTone
  • Align Right icon from IconPark TwoTone
  • Align Right One icon from IconPark TwoTone
  • Align Right Two icon from IconPark TwoTone
  • Align Text Both One icon from IconPark TwoTone
  • Align Text Bottom One icon from IconPark TwoTone
  • Align Text Center One icon from IconPark TwoTone
  • Align Text Left One icon from IconPark TwoTone
  • Align Text Middle One icon from IconPark TwoTone
  • Anchor icon from IconPark TwoTone
  • Anchor One icon from IconPark TwoTone
  • Anchor Round icon from IconPark TwoTone
  • Back icon from IconPark TwoTone
  • Bottom Bar icon from IconPark TwoTone

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

Get Pro

Pricing

IconPark TwoTone MCP, with Pro

Ask for Dark Mode or any of 1,947 IconPark TwoTone 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 Dark Mode 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 Dark Mode from a prompt

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

Get Pro