Skip to content

Switch

The switch icon represents a toggle or a switch used to control the flow of electricity or to turn a device on or 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 Grommet Icons
Get Pro

637 in Grommet IconsApache 2.0 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 24 24" {...props}>
    <path fill="currentColor" fillRule="evenodd" d="M5 1h14v22H5zm2.5 10H17v10H7V11zM15 6a3 3 0 1 1-6 0a3 3 0 0 1 6 0m-4 13v-5h2v5zm1-13.998a1 1 0 1 0 0 2a1 1 0 0 0 0-2" clipRule="evenodd"/>
  </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

Grommet Icons

Icons that share its tags, in the same style.

  • Ascend icon from Grommet Icons
  • Bottom Corner icon from Grommet Icons
  • Caret Next icon from Grommet Icons
  • Caret Previous icon from Grommet Icons
  • Caret Right Fill icon from Grommet Icons
  • Caret Up icon from Grommet Icons
  • Caret Up Fill icon from Grommet Icons
  • Close icon from Grommet Icons
  • Drag icon from Grommet Icons
  • Grid icon from Grommet Icons
  • Group icon from Grommet Icons
  • Grow icon from Grommet Icons
  • Halt icon from Grommet Icons
  • Menu icon from Grommet Icons
  • Redo icon from Grommet Icons
  • Sidebar icon from Grommet Icons
  • Caret Down icon from Grommet Icons
  • Caret Down Fill icon from Grommet Icons
  • Caret Left Fill icon from Grommet Icons
  • Cart icon from Grommet Icons
  • Catalog icon from Grommet Icons
  • Catalog Option icon from Grommet Icons
  • Certificate icon from Grommet Icons
  • Coat Check icon from Grommet Icons

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

Get Pro

Tags

Browse by tag

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

Pricing

Grommet Icons MCP, with Pro

Ask for Switch or any of 637 Grommet 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