Skip to content

Switch

The switch icon represents a toggle switch, a common UI element used to control the state of a feature or setting.

Exports at 24 × 24 px

Switch icon from Material Symbols
Get Pro

Code

Switch in your framework

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

export const SwitchIcon = (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="M8 17h8V7H8zm2-2V9h4v6zm1-3h2v-2h-2zm-6 9q-.825 0-1.412-.587T3 19V5q0-.825.588-1.412T5 3h14q.825 0 1.413.588T21 5v14q0 .825-.587 1.413T19 21z"/>
  </svg>
);

Material Symbols

Icons that share its tags, in the same style.

  • Switch Access icon from Material Symbols
  • Switch Access  2 icon from Material Symbols
  • Switch Right icon from Material Symbols
  • Switch Video icon from Material Symbols
  • Buttons Alt icon from Material Symbols
  • Smart Button icon from Material Symbols
  • Legend Toggle icon from Material Symbols
  • Smart Card Reader icon from Material Symbols
  • Smart Card Reader Off icon from Material Symbols
  • Switch Access  3 icon from Material Symbols
  • Widget Medium icon from Material Symbols
  • Widgets icon from Material Symbols
  • Widget Small icon from Material Symbols
  • Widget Width icon from Material Symbols
  • Width icon from Material Symbols
  • Width Full icon from Material Symbols
  • Width Normal icon from Material Symbols
  • Width Wide icon from Material Symbols
  • Align Horizontal Right icon from Material Symbols
  • Align Items Stretch icon from Material Symbols
  • Align Justify Center icon from Material Symbols
  • Align Justify Flex End icon from Material Symbols
  • Align Justify Flex Start icon from Material Symbols
  • Align Vertical Bottom icon from Material Symbols

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

Get Pro

Pricing

Material Symbols MCP, with Pro

Ask for Switch or any of 15,862 Material Symbols 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 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 from a prompt

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

Get Pro