Skip to content

Switch

The switch icon represents a toggle or switch control, commonly used in software and interfaces to indicate a binary state (on/off).

Add shadcn.io to your AI agent. · Pro It installs Switch, or any of 294k icons, from a prompt, with Pro.

Set up MCP

Exports at 24 × 24 px

Switch icon from Radix Icons
Get Pro

342 in Radix IconsMIT license (opens in a new tab)Free to copy and download

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 15 15" {...props}>
    <path fill="currentColor" d="M10.731 3.006q.225.01.442.044l.085.014q.172.03.34.07l.027.008q.063.016.126.035l.062.017l.09.03q.166.053.325.12l.102.045l.09.04q.066.031.128.064l.06.031l.085.047q.152.086.297.18l.07.049a5 5 0 0 1 .5.402a4 4 0 0 1 .383.402l.052.062a4 4 0 0 1 .253.345l.07.11l.045.071l.047.081a5 5 0 0 1 .116.217l.042.085q.023.048.043.096l.048.111l.02.05a5 5 0 0 1 .094.256l.032.099l.027.096l.03.106q.04.165.07.337q.01.051.018.104a4.5 4.5 0 0 1-.089 1.78l-.025.093l-.031.11l-.016.05l-.059.17q-.014.042-.032.084l-.039.1l-.04.097l-.05.11l-.043.085l-.058.114l-.037.065q-.033.06-.068.119l-.045.07q-.034.057-.07.111l-.052.075l-.062.09a5 5 0 0 1-.139.18l-.052.062q-.04.05-.084.098l-.053.058q-.049.053-.099.104l-.048.047a4 4 0 0 1-.17.16l-.073.063l-.089.075l-.065.05a5 5 0 0 1-.202.15l-.07.047l-.118.076l-.055.034q-.06.037-.124.07q-.042.025-.085.048l-.06.032l-.127.062l-.09.041l-.102.045a5 5 0 0 1-.326.12l-.09.03l-.062.017a5 5 0 0 1-.493.113l-.085.014a5 5 0 0 1-.442.045L10.5 12h-6l-.231-.006a4.5 4.5 0 0 1 0-8.988L4.5 3h6zM4.5 4a3.5 3.5 0 1 0 0 7h3.173A4.49 4.49 0 0 1 6 7.5A4.49 4.49 0 0 1 7.673 4zm6 0a3.5 3.5 0 1 0 0 7a3.5 3.5 0 0 0 0-7"/>
  </svg>
);

Other libraries

Switch in 8 more libraries

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

  • Switch icon from Material Symbols
  • Switch icon from Material Symbols Light
  • Switch icon from Material Design Icons
  • Switch icon from Tabler Icons
  • Switch icon from IconPark Outline
  • Switch icon from WebHostingHub Glyphs
  • Switch icon from Fluent UI MDL2
  • Switch icon from Material Line Icons

Radix Icons

Icons that share its tags, in the same style.

  • Stop icon from Radix Icons
  • Stitches Logo icon from Radix Icons
  • Stretch Horizontally icon from Radix Icons
  • Stretch Vertically icon from Radix Icons
  • Strikethrough icon from Radix Icons
  • Sun icon from Radix Icons
  • Commit icon from Radix Icons
  • Slider icon from Radix Icons
  • Star icon from Radix Icons
  • Star Filled icon from Radix Icons
  • Stopwatch icon from Radix Icons
  • Border None icon from Radix Icons
  • Border Right icon from Radix Icons
  • Border Solid icon from Radix Icons
  • Border Split icon from Radix Icons
  • Border Style icon from Radix Icons
  • Border Top icon from Radix Icons
  • Border Width icon from Radix Icons
  • Box icon from Radix Icons
  • Box Model icon from Radix Icons
  • Button icon from Radix Icons
  • Card Stack icon from Radix Icons
  • Card Stack Minus icon from Radix Icons
  • Card Stack Plus icon from Radix Icons

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

Get Pro

Tags

Browse by tag

Switch is tagged UI, interface, design and 3 more. Related tags follow; each opens its icons from every library.

Pricing

Radix Icons MCP, with Pro

Ask for Switch or any of 342 Radix 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.

Billed once a year in USD. Cancel anytime.

Individual

For personal projects & open source

$32instead of $49/mo

$389 billed yearly

  • How many people can use the license.Seats: 1 seat
  • Client work, SaaS products and anything you charge for.Commercial use: Personal & open source only
  • Production-ready React sections: hero, pricing, features, dashboards and more.Pro blocks: 6,000+ blocks
  • Complete multi-page sites you can ship as they are.Templates: All 14 templates
  • React icons from every major library, installable with one command.React icons: 294k+ icons
  • Presets that restyle every block, in light and dark.Themes: All 59 themes
  • Lets your AI editor search, preview and install blocks for you.MCP server: Basic usage
  • Priority requests are answered first.Support: Standard

Team

Most popular

For freelancers, agencies & startups

$66instead of $99/mo

$789 billed yearly · ≈ $13/dev/mo

Everything in Individual, plus

  • How many people can use the license.Seats: Up to 5 seats
  • Client work, SaaS products and anything you charge for.Commercial use: Included
  • Lets your AI editor search, preview and install blocks for you.MCP server: High usage
  • Priority requests are answered first.Support: Priority

Organization

For companies with larger teams

$132instead of $199/mo

$1,589 billed yearly

Everything in Team, plus

  • How many people can use the license.Seats: Unlimited seats
  • Lets your AI editor search, preview and install blocks for you.MCP server: Unlimited usage
  • 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 and license it.

Install Switch from a prompt

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

Get Pro