Switch
Design System - Switch component

// Sample code
<Switch
isLabelFirst={true}
label="Enable notifications"
shapeOnOff={true}
isCheckedInitially={false}
onToggle={(state) => console.log("Switch is now:", state)}
className=""
style={}
disable={false}
/>// Sample code
DigitSwitch(
value: 'value',
label: 'Switch label',
readonly: false,
disabled: false,
showSymbol: false,
onChanged: (value) {
setState(() {
isSwitched = value;
});
},
);Anatomy

Variants
Properties
Property Configuration Table
Property
Value
Default
Property
Value
Default
Behaviours
Usage Guide
Changelog
Date
Number
Notes
Design Checklist
Last updated
Was this helpful?






