Skip to content
shadcn.io

Toggle Button

The toggle-button icon represents a button that toggles between two states, often used to enable or disable a feature or setting.

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

Set up MCP

Exports at 24 × 24 px

Toggle Button icon from OpenMoji
Get Pro

4,481 in OpenMojiCC BY-SA 4.0 license (opens in a new tab)Free to copy and download

Code

Toggle Button in your framework

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

export const ToggleButtonIcon = (props: React.SVGProps<SVGSVGElement>) => (
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 72 72" fill="none" stroke="currentColor" {...props}>
    <g strokeLinecap="round" strokeLinejoin="round" strokeMiterlimit="10" strokeWidth="2"><path fill="#d0cfce" d="M51.098 45.98h-30.04c-5.512 0-9.98-4.469-9.98-9.98s4.468-9.98 9.98-9.98h30.04c5.512 0 9.98 4.468 9.98 9.98c0 5.511-4.468 9.98-9.98 9.98"/><circle cx="20.923" cy="36" r="10.001" fill="#ea5a47"/><path fill="#ea5a47" d="M27.521 28.446c4.09 3.713 4.395 10.038.682 14.127s-10.038 4.394-14.127.681"/></g><g fill="none" stroke="#000" strokeLinecap="round" strokeLinejoin="round" strokeMiterlimit="10" strokeWidth="2"><path d="M51.098 45.98h-30.04c-5.512 0-9.98-4.469-9.98-9.98v0c0-5.512 4.468-9.98 9.98-9.98h30.04c5.512 0 9.98 4.468 9.98 9.98v0c0 5.511-4.468 9.98-9.98 9.98"/><circle cx="20.923" cy="36" r="10.001"/><path d="M27.521 28.446c4.09 3.713 4.395 10.038.682 14.127s-10.038 4.394-14.127.681"/></g>
  </svg>
);

OpenMoji

Icons that share its tags, in the same style.

  • Toggle Button State B icon from OpenMoji
  • Vs Button icon from OpenMoji
  • Id Button icon from OpenMoji
  • Power On Off Symbol icon from OpenMoji
  • Bright Button icon from OpenMoji
  • Check Mark Button icon from OpenMoji
  • Cl Button icon from OpenMoji
  • Cool Button icon from OpenMoji
  • Counterclockwise Arrows Button icon from OpenMoji
  • Downwards Button icon from OpenMoji
  • Fast Down Button icon from OpenMoji
  • Fast Forward Button icon from OpenMoji
  • Fast Reverse Button icon from OpenMoji
  • Fast Up Button icon from OpenMoji
  • Gear icon from OpenMoji
  • Japanese Acceptable Button icon from OpenMoji
  • Japanese Application Button icon from OpenMoji
  • Japanese Bargain Button icon from OpenMoji
  • Japanese Congratulations Button icon from OpenMoji
  • Japanese Discount Button icon from OpenMoji
  • Japanese Free Of Charge Button icon from OpenMoji
  • Japanese Here Button icon from OpenMoji
  • Keycap  10 icon from OpenMoji
  • Keycap  2 icon from OpenMoji

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

Get Pro

Tags

Browse by tag

Toggle Button is tagged button, configuration, toggle and 2 more. Related tags follow; each opens its icons from every library.

Pricing

OpenMoji MCP, with Pro

Ask for Toggle Button or any of 4,481 OpenMoji 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 Toggle Button icon means and where it's used, then how to install, style and license it.

Install Toggle Button from a prompt

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

Get Pro