Switch
A toggle for a setting that takes effect at once.
Customers see them in the catalog marked as out of stock
For a choice that applies only after the form is submitted, use a Checkbox.
Installation
import { NuiSwitch } from '@numior/kit';Usage
Change the size and the states of the switch.
Examples
Build a list of settings
Explain in description what the switch changes.
An email to the manager once the order is paid
An email and a notice in the dashboard
A digest of reviews once a day, at 9 a.m.
Accessibility
The switch is a native checkbox with the switch role, so a screen reader announces it as on or off and reads the label. In right-to-left text the knob moves the other way.