S
SureUI

Confirm Switch · SureUI

A Switch that moves right away and can be taken back: flipping it again during the undo window undoes it, and onConfirm(checked) runs when the window ends.

npx shadcn@latest add @sureui/confirm-switch
Preview Confirm Switch on SureUI's site (opens in a new tab)
Loading the source for confirm-switch…

confirm-switch