Figma UI component

Figma toggle components

Toggles (also known as switches) flip a single setting between on and off, taking effect immediately. These Figma toggles come in two styles and two sizes, with pressed, hover, focus, and disabled states, with or without labels and supporting text.
About this component

Toggle and switch design in Figma: states and behavior

How these toggle components are built, and the rules they follow for immediate, single-setting changes.

A toggle makes one promise: flip it, and the change happens now. No save button, no confirmation step. That immediacy is what makes toggles feel great in settings screens, notification preferences, and pricing page billing switches, and also what makes them wrong for half the places they end up. A well-built toggle is small enough to ignore and clear enough to trust, and both qualities come from details that are easy to skip. The 2 toggle components and 64 variants above handle the visual side; the semantics are worth two minutes of your attention.

Toggle, switch, checkbox: which one?

Toggle and switch are two names for the same control, and covering both matters because iOS and Material call it a switch while most Figma libraries say toggle. The real decision is toggle vs checkbox. Nielsen Norman Group's guidelines draw the line cleanly: a toggle applies its change immediately, while a checkbox belongs in forms where changes are gathered up and submitted together.

A toggle is also strictly binary. If you're tempted by a third state, you want radio buttons instead.

One more boundary worth respecting: because toggles act immediately, they're wrong for destructive or hard-to-reverse changes. Deleting data or downgrading a plan deserves a deliberate action and a confirmation modal, not a switch someone can brush on a touchscreen.

Anatomy and the two styles

Each toggle is a track with a sliding thumb, in two visual styles: the default filled style and a slim style where the thumb overhangs a thinner track. Both come in two sizes (the default style measures 36×20px at sm and 44×24px at md) and in versions with a label and supporting text beside the control.

Use the sm size in dense settings lists where a dozen toggles stack vertically, and md when a toggle stands alone, like the billing period switch on a pricing page. The supporting text line is for consequences ("You'll be notified about mentions and replies"), which beats making users flip the switch to find out.

One rule worth enforcing from the NN/g guidance: the label describes what the toggle controls and stays static. "Email notifications" is right; a label that flips between "On" and "Off" as you click makes people wonder whether it's the state or the action.

Every interactive state

Both styles cover off and on in default, hover, focus, and disabled states. The focus ring is there because keyboard users flip switches with the Space key and need to see which control they're on, which is also the core of the W3C switch pattern your developers will implement.

And since touchscreens have no hover, the on/off difference is carried by the thumb position and track color, not by a hover-only affordance.

Prototyping the flip in Figma

Because on and off exist as variants of one component, a working toggle is one "change to" interaction with Smart Animate, which slides the thumb across the track instead of teleporting it. Set it up once inside the component set and every toggle in your prototype flips on click, which turns a static settings mockup into something user testing participants can actually poke at. Figma's guide to interactive components covers the mechanics.

When it's time to build, the same toggles exist in code. Untitled UI React toggles are open source, built with Tailwind CSS and React Aria's Switch, with keyboard behavior and switch semantics handled for you.

FAQs

Frequently asked questions

Common questions about the Untitled UI Figma toggle components, covering styles, sizes, and label options.

How do I make a toggle switch interactive in Figma?

Add a "change to" interaction between the off and on variants inside the component set, with Smart Animate as the animation so the thumb slides across the track.

Every instance of the toggle then flips on click in presentation mode. Figma's interactive components guide walks through the setup.

What’s the difference between a toggle and a checkbox?

Timing. A toggle applies its change the moment it's flipped, like turning on notifications in a settings screen.

A checkbox collects a choice that takes effect later, when a form is submitted. If the screen has a save button, use checkboxes. If flipping the control is the action itself, use a toggle.

Should the label change when a toggle is on?

No. Keep the label static and let the toggle itself show the state. A label that switches between "On" and "Off" creates a classic ambiguity: is that the current state, or what will happen if I click?

Nielsen Norman Group recommends a short label describing what's being controlled, which is how the labelled variants here are set up.

Are these toggle components free?

Yes. The toggles are included in the 100% free version of Untitled UI, usable in personal and commercial projects.

The full Figma kit extends the same system to 10,000+ components, page examples, and dashboards.

Is there a React version of these toggles?

Yes. Untitled UI React toggles are open source, built with Tailwind CSS and React Aria's Switch component, and mirror these Figma toggles, with Space-key activation and switch semantics built in.

Figma UI components

Application UI/Dashboard examples

Dashboard, settings, form layouts—useful examples for everything you need to design modern dashboards and products.
Figma UI components

Application UI/Dashboard Figma components

Modals, tables, alerts—everything you need to design modern and beautiful apps, dashboards and products.
Figma UI components

Marketing website components

Landing page header and website sections—everything you need to design modern and responsive marketing websites.
The ultimate UI kit for Figma

What is Untitled UI?

Untitled UI Figma is the largest UI kit and design system for Figma in the world. Here's everything great about Untitled UI in just 60 seconds.
Play icon
Untitled UI in 60 seconds
Play icon
Pause icon
Join 380,000+ designers from the world's top companies
Gumroad 5 stars

Untitled UI is the best $ I've spent on my business in a long time. I'm going to keep using it and recommending it to every designer I know.

Sam Pierce Lolla
Sam Pierce Lolla
Founder, Shuffleboard
Star iconStar iconStar iconStar iconStar icon
Gumroad 5 stars

Over the years we've featured hundreds of UI kits on UXCrush, but Untitled UI is by far the most comprehensive and detailed I've seen yet. A must have for any designer!

Luca Vavassori
Luca Vavassori
Founder, UXCrush
Star iconStar iconStar iconStar iconStar icon
Gumroad 5 stars

I've used all UI kits on the market. I can say without a doubt that the Untitled UI kit is the best on the market. It covers everything a designer needs in a modern and efficient way.

Murat Alpay
Murat Alpay
Product Designer, @imuratalpay
Star iconStar iconStar iconStar iconStar icon
Gumroad 5 stars

Incredible, and keeps getting better. I’ve tried dozens of UI kits and Untitled UI is the only name you should care about. It stands head and shoulders above the rest.

Jérémy Franck
Jérémy Franck
Designer, @jrmyfranck
Star iconStar iconStar iconStar iconStar icon
Gumroad 5 stars

Such a beautiful, detailed, and extensive UI kit. Untitled UI is the perfect foundation for any project. I highly recommend this huge time saver.

Adham Dannaway
Adham Dannaway
Product Designer, Practical UI
Star iconStar iconStar iconStar iconStar icon
Gumroad 5 stars

Untitled UI has been an amazing resource that I'm learning to rely upon to spin up ideas in no time. I think I might launch a startup pretty soon by mistake here!

Ricardo Buzzotta
Riccardo Buzzotta
Senior Product Designer, Spotify
Star iconStar iconStar iconStar iconStar icon
Gumroad 5 stars

The sheer scale, details, and organization of this kit is mind-blowing. It covers nearly everything a Designer could need in a modern, efficient and systematic way.

Corey Moen
Corey Moen
Senior Brand Designer, Webflow
Star iconStar iconStar iconStar iconStar icon
Gumroad 5 stars

I'm super impressed with this. I love poking around in other peoples UI Kits to see how they think. This is probably one of the most comprehensive I've seen.

Matt Walker
Matt Walker
Design Systems, Mailchimp
Star iconStar iconStar iconStar iconStar icon
Gumroad 5 stars

I'm super excited to use this for quick mockups of ideas in Figma. We're always trying to streamline our design process so we can move fast! Definitely recommend.

Jenny Chu
Jenny Chu
Head of Product, Eucalyptus
Star iconStar iconStar iconStar iconStar icon
Gumroad 5 stars

Untitled UI is easily the best UI kit I've used so far. It has an insane amount of components that are all incredibly well-built. I don't even know how many hours this will save.

Sunny Trochaniak
Sunny Trochaniak
Founder, NewPulse Labs
Star iconStar iconStar iconStar iconStar icon
Gumroad 5 stars

The attention to detail and thought Jordan has put into this UI kit is unparalleled.

Dan Mcleay
Dan Mcleay
Lead Designer, Fox Sports
Star iconStar iconStar iconStar iconStar icon
Gumroad 5 stars

Untitled UI is incredibly well-organized and the attention to detail is great. I highly recommend this kit to any designer that wants to create beautiful designs fast.

Tom Bekkers
Tom Bekkers
Founder & Creative Director, Flowbase
Star iconStar iconStar iconStar iconStar icon
Gumroad 5 stars

What an awesome Figma kit... it's an absolute game changer. This is the perfect base for any design system. The size and attention to detail is next level.

Dan Anisse
Dan Anisse
Co-founder, Relume
Star iconStar iconStar iconStar iconStar icon
Gumroad 5 stars

We've been using Untitled to build Himalayas 2.0 and have finished a complete redesign in just a few days. It has everything we need already pixel-perfect.

Abi Tyas Tunggal
Abi Tyas Tunggal
Co-founder, Himalayas
Star iconStar iconStar iconStar iconStar icon