Skip to content
Core ElementsFree

Switch

A toggle control for a binary setting.

Usage

Installation

bash
npm install @wunderui/react

Then import what you need:

tsx
import { Switch, SwitchItemCell } from "@wunderui/react"

Examples

Off

The switch on its own — click to turn it on.

Switch rows

Settings rows with a switch on the right.

In context

How the component is used inside real screens — the same compositions as the Usage section of the Figma page.

File list with selection

A file table: the header checkbox selects all rows, row checkboxes pick single files, switches toggle sharing.

NameSizeShared
brand-guide.pdf4.2 MB
hero.png1.1 MB
tokens.json24 KB
onboarding.fig18 MB