Switch

Demo

<Switch ripple id="switch1" defaultChecked>Ripple switch</Switch>

<Switch id="switch2">Switch</Switch>

Configuration

Prop Type Effect Remarks
checked Boolean Defines the checkbox as “checked” Optional
disabled Boolean Defines the checkbox as “disabled” Optional
onChange Function Callback to receive the change event Optional
ripple Boolean Applies the ripple effect Optional