Skip to main content

shadcn/ui Toggle

A two-state button that can be either on or off.

Shadcn/ui Toggle - Figma Component

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.

Features

  • 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

Toggle buttons in Figma

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.

Pressed visual feedback

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.

Icon toggles

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.

Accessible toggles

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.

Your questions, answered

Common questions about the Toggle component in the shadcn/ui Figma kit.

Ship your next project 10x faster, forever

4.9 out of 5Avg rating
Trusted by 13,000+designers and developers
7-day free trialCancel anytime