Auto-Loading Submit Button Demo

This button automatically shows a loading spinner when clicked (submit buttons only). The loading state resets automatically when Turbo completes the request.

Click the submit button above to see the auto-loading behavior. The spinner appears instantly on click and automatically resets.

Comparison: Regular Button vs Auto-Loading Submit

Regular Button (no auto-loading)

Submit with Auto-Loading

Different Variants with Auto-Loading