Skip to content

Switch

VSwitch is a low-level boolean toggle for settings and form fields.

Demo

Notification settingsChoose which updates can interrupt you
On

Props

PropTypeDefaultDescription
modelValuebooleanfalseCurrent value
disabledbooleanfalseDisabled state
loadingbooleanfalseLoading state

Events

EventPayloadDescription
update:modelValuebooleanValue updated
changebooleanValue changed