Skip to Content
Notion UI

Switch

Toggle a setting on or off.

Switch Default

<Switch />

Installation

pnpm add @notion-kit/ui

Options


Size

Use the size prop to control the size of the switch. The default size is "md".

Switch Sizes

<Switch size="sm" />
<Switch size="md" />

API Reference

Switch

Prop

Type

On this page