Baseweb: Toggle Component

Created on 30 Apr 2019  路  2Comments  路  Source: uber/baseweb

Feature description

There doesn't seem to be a Toggle component and it's a pretty common UI element in a lot of forms.

It's used often to indicate immediate state changes (eg. the interface would use a toggle to allow the user to turn on/off their wifi functionality).

The key properties of a toggle is that is instantly attempts to save the state change and persist it. In this way it's also useful for a toggle to have a loading state if the data change could possibly fail.

Example UI

image

Most helpful comment

hi @pkrawc ! you can find it here: https://baseweb.design/components/checkbox/#checkbox-as-a-toggle

All 2 comments

hi @pkrawc ! you can find it here: https://baseweb.design/components/checkbox/#checkbox-as-a-toggle

Thanks for the clarification @gergelyke

Was this page helpful?
0 / 5 - 0 ratings