Binary on/off toggle control
Built with Radix UI Switch primitive
Smooth toggle animation
Keyboard accessible (space to toggle)
Disabled and checked states
Proper label association
A control that allows the user to toggle between checked and not checked. This Figma component is part of our comprehensive design system that brings the popular shadcn/ui library into your design workflow.
Every Switch variant includes all the necessary states, properties, and styling options you need to create consistent, production-ready designs. The component seamlessly integrates with your existing Figma files and maintains full compatibility with the shadcn/ui React implementation.
Accordion
Alert Dialog
Alert
Aspect Ratio
Avatar
Badge
Breadcrumb
Button Group
Button
Calendar
Card
Carousel
Chart
Checkbox
Collapsible
Combobox
Command
Context Menu
Data Table
Date Picker
Dialog
Drawer
Dropdown Menu
Empty
Field
Form
Hover Card
Input Group
Input OTP
Input
Item
Kbd
Label
Menubar
Native Select
Navigation Menu
Pagination
Popover
Progress
Radio Group
Resizable
Scroll Area
Select
Separator
Sheet
Sidebar
Skeleton
Slider
Sonner
Spinner
Switch
Table
Tabs
Textarea
Toast
Toggle Group
Toggle
Tooltip
The shadcn/ui figma Switch creates instant on/off toggles. Design settings, preferences, and feature toggles in Figma. This shadcn figma component applies changes immediately without form submission.
Design Switches in Figma with the shadcn/ui figma component—for immediate effects like dark mode. Prototype settings where Switches work instantly, while Checkboxes require submission, matching shadcn/ui semantics.
This shadcn figma Switch supports loading during async operations. Design toggles in Figma that disable during API calls, reverting on failure with clear error feedback.
The shadcn/ui figma Switch uses role="switch" and Space key. Design accessible controls in Figma where switches announce state changes to screen readers, following shadcn/ui accessibility standards.