A toggle component for switching states

Interactive Playground
Live Toggle instance3 active props
Props Configurator
3 properties

Appearance

1 prop
variantToggle Variant
def: default

Surface styling

Size

1 prop
sizeSize
def: md

Button dimension

Interactivity

1 prop
disabledDisabled

Disables press interaction

Basic Toggle

A simple toggle component

Related Components

Complementary components commonly used alongside Toggle.