Confirm Toggle โ shadcn/ui Component by movin | shadcnregistry
Confirm Toggle
component
For a setting you should not turn off by accident: on is one press, but off stops the thumb halfway and asks for a second press while a short timer runs out; leave it and it springs back on.