Slide Commit
Slide-to-confirm control with a handle that squashes against the wall, unfurls into a done pill on success and springs home with a shake on failure.
Default
Drag the handle to the end, or focus it and press End. Change the outcome in the panel to see the error path.
API Reference
SlideCommit
Accessibility
Keyboard shortcuts and ARIA behavior.
- The handle is a slider with aria-valuenow and aria-valuetext tracking its position. A live region announces working, done and failed.
- With prefers-reduced-motion the handle returns with a short tween instead of a spring and the spinner breathes instead of turning.