Skip to content

Switch Button

The switch button icon represents a UI element for toggling on or off.

Exports at 24 × 24 px

Switch Button icon from IconPark Solid
Get Pro

Code

Switch Button in your framework

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

export const SwitchButtonIcon = (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="SVGxi7i2kST"><g fill="none" strokeLinejoin="round" strokeWidth="4"><path fill="#fff" stroke="#fff" d="M36 4H12a8 8 0 1 0 0 16h24a8 8 0 1 0 0-16Zm0 24H12a8 8 0 1 0 0 16h24a8 8 0 1 0 0-16Z"/><path fill="#000" stroke="#000" d="M36 14a2 2 0 1 0 0-4a2 2 0 0 0 0 4ZM12 38a2 2 0 1 0 0-4a2 2 0 0 0 0 4Z"/></g></mask></defs><path fill="currentColor" d="M0 0h48v48H0z" mask="url(#SVGxi7i2kST)"/>
  </svg>
);

Other libraries

Switch Button in 3 more libraries

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

IconPark Solid

Icons that share its tags, in the same style.

  • Switch One icon from IconPark Solid
  • Switch Themes icon from IconPark Solid
  • Sweater icon from IconPark Solid
  • Switch Nintendo icon from IconPark Solid
  • System icon from IconPark Solid
  • T Shirt icon from IconPark Solid
  • Right Square icon from IconPark Solid
  • Swimming Ring icon from IconPark Solid
  • Swimsuit icon from IconPark Solid
  • Swing icon from IconPark Solid
  • Close One icon from IconPark Solid
  • Handle Round icon from IconPark Solid
  • Handle Square icon from IconPark Solid
  • Handle Triangle icon from IconPark Solid
  • Handle Y icon from IconPark Solid
  • Handle Z icon from IconPark Solid
  • Radio Two icon from IconPark Solid
  • Right Two icon from IconPark Solid
  • Right User icon from IconPark Solid
  • Ring icon from IconPark Solid
  • Ring One icon from IconPark Solid
  • Rings icon from IconPark Solid
  • Road Cone icon from IconPark Solid
  • Road Sign icon from IconPark Solid

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

Get Pro

Pricing

IconPark Solid MCP, with Pro

Ask for Switch Button or any of 1,970 IconPark Solid 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 Switch Button 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 Switch Button from a prompt

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

Get Pro