中文

Hold to Confirm vs Loading Button

Intent gate vs Async feedback · Click & feedback

Decision rule: Use Hold to confirm to prevent accidental destructive actions; use Loading button for async form submissions.

Open in interactive compare ↗
危险操作确认

Hold to confirm

长按填充确认

Press and hold a button to fill its progress bar from left to right; releasing early cancels.

When to choose Hold to confirm: Destructive actions or irreversible confirmations replacing an extra confirmation modal.

Effect details →
订阅周刊每周五,一封信

Loading button

按钮加载到完成

Click a button and its label turns into a spinner, then into a check mark when the request succeeds.

When to choose Loading button: Form submits or network mutations preventing double clicks while transitioning from spinner to check.

Effect details →

Implementation & motion difference

Hold-to-confirm cancels and retracts if released early; Loading button locks immediately and tracks a real Promise lifecycle.

Shown once per release · Always available in changelog