Redpanda UI
RC
Redpanda UI

Switch

A control that allows the user to toggle between checked and not checked.

Made by shadcn
Loading component...

When to use

Switches provide binary toggle controls. Use this decision tree:

Installation

Usage

<Switch />

Props

Examples

Default

Loading component...

Advanced Label

Loading component...

Form

Loading component...

Credits

  • We use Radix UI for the switch component.
  • We take our inspiration from Shadcn UI for the switch style.

Built by malinskibeniamin. The source code is available on GitHub.

On this page