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.
Demos paused (because Reduced motion)
Ask your AI to read llms.txt: what the site is and how to find effects. The complete catalog is at catalog.json。
Each effect has a readable document with its name, principle, parameters and reference code. JavaScript is not required.
/effects/<effect id>.md
Sent anonymously — tell us a motion you want or a bug you hit.
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.
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.
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.
Hold-to-confirm cancels and retracts if released early; Loading button locks immediately and tracks a real Promise lifecycle.