Components Inputs Input Toggle

Input Toggle

Overview API Examples Style Tokens

Basic usage

Negative mode

The Input Toggle component supports a negative mode, suitable for areas with dark background.

Prefilled value

You can initialize the Input Toggle component with a prefilled value.

Displaying an alert

You can add an alert to be displayed below the label of the Input Toggle.

Loading state

A Loading state can be activated to show users that the new value is being saved.

Disabled state

The Input Toggle component supports a Disabled state, complete with an information button with which you can provide useful details as to why the field is not operable.