Skip to content

Dark Mode

The dark-mode icon represents a toggle for switching between light and dark themes in digital interfaces.

Exports at 24 × 24 px

Dark Mode icon from Huge Icons
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 24 24" fill="none" stroke="currentColor" {...props}>
    <g fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.5"><path d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2s10 4.477 10 10"/><path d="M16.5 12a4.5 4.5 0 1 1-9 0a4.5 4.5 0 0 1 9 0M12 2v20"/></g>
  </svg>
);

Huge Icons

Icons that share its tags, in the same style.

  • Align Bottom icon from Huge Icons
  • Change Screen Mode icon from Huge Icons
  • Cursor Disabled  02 icon from Huge Icons
  • Cursor Edit  01 icon from Huge Icons
  • Cursor Edit  02 icon from Huge Icons
  • Cursor Hold  01 icon from Huge Icons
  • Cursor Hold  02 icon from Huge Icons
  • Cursor Info  01 icon from Huge Icons
  • Cursor Info  02 icon from Huge Icons
  • Cursor In Window icon from Huge Icons
  • Cursor Loading  01 icon from Huge Icons
  • Cursor Loading  02 icon from Huge Icons
  • Customize icon from Huge Icons
  • Edge Style icon from Huge Icons
  • Access icon from Huge Icons
  • Align Box Bottom Center icon from Huge Icons
  • Align Box Bottom Left icon from Huge Icons
  • Align Box Bottom Right icon from Huge Icons
  • Align Box Middle Center icon from Huge Icons
  • Align Box Middle Left icon from Huge Icons
  • Align Box Middle Right icon from Huge Icons
  • Align Box Top Center icon from Huge Icons
  • Align Box Top Left icon from Huge Icons
  • Align Box Top Right icon from Huge Icons

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

Get Pro

Pricing

Huge Icons MCP, with Pro

Ask for Dark Mode or any of 4,585 Huge Icons 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