Pending Toggle โ shadcn/ui Component by movin | shadcnregistry
Pending Toggle
component
A switch that saves to a server: the thumb moves at once and a spinner runs inside it until the save lands, then it ticks. If the save fails, the thumb shakes and slides back, and the line under the label says so.