Input - Toggle

Input - Toggle


Last updated: 9/20/21

Toggle inputs are used for selecting a boolean value of on or off.

Base

Use the base class pier-input-toggle to create a default input toggle

HTML markup

Sizes

Use the modifier classes pier-input-toggle--sm, pier-input-toggle--md, or pier-input-toggle--lg to change the size of the input-toggle.

HTML markup

Error

Use the modifier class pier-input-toggle--error to change the state of the input toggle to error.

HTML markup

Disabled

Use the modifier class pier-input-toggle--disabled to change the state of the input toggle to disabled.

HTML markup

Dark

Use the modifier class pier-input-toggle--dark to change the style of the input toggle for dark UI themes.

HTML markup

Error Dark

Use the modifier class pier-input-toggle--dark to change the style of the input toggle for dark UI themes.

HTML markup


© 2021 Gumgum, Inc.