Two-state button (pressed/unpressed)
Built with Radix UI Toggle primitive
Icon or text content
Pressed and disabled states
Keyboard accessible
Works standalone or in Toggle Groups
A two-state button that can be either on or off. This Figma component is part of our comprehensive design system that brings the popular shadcn/ui library into your design workflow.
Every Toggle 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 Toggle creates two-state button controls. Design formatting (bold, italic), favorites, and view options in Figma. This shadcn figma component provides button-like pressed/unpressed interactions.
Design Toggles in Figma with the shadcn/ui figma component—clear pressed state with background or border changes. Prototype toolbars where pressed toggles are immediately distinguishable, matching shadcn/ui visual feedback.
This shadcn figma Toggle supports icon swapping (☆ to ★ for favorite). Design icon-based toggles in Figma with tooltips explaining function, creating self-documenting toolbar controls.
The shadcn/ui figma Toggle uses role="button" with aria-pressed. Design accessible controls in Figma where toggles announce pressed/unpressed states, following shadcn/ui accessibility standards with Space/Enter keys.