01 · Confirm
Confirm a destructive action
Only for what can't be undone. Button tone danger opens the alert Dialog from where you clicked; the action needs a hold.
- Trigger
- Button · Dialog
- Duration
- fast / fill
- Easing
- ease-out
Everyday scenarios built from the same components. Copy the recipe; there is nothing new to install.
01 · Confirm
Only for what can't be undone. Button tone danger opens the alert Dialog from where you clicked; the action needs a hold.
02 · Edit
A Button opens a small Dialog with one field. Save and Cancel are Buttons too.
03 · Save
The button answers itself: dots while saving, then a check. No toast needed.
04 · Undo
Reversible actions happen at once. Undo appears inside the same list, in its ToastRegion, not a screen corner.
05 · Approve
Proposed plan
Create the branch
, waitingUpdate 12 components
, waitingRun the checks
, waitingOpen a pull request
, waitingTrace shows the plan; a held Button approves it and the steps tick in sequence. Reject collapses it to a Marker.
06 · Rate
A segmented control of thumbs; thumbs down grows a field to say what went wrong.
07 · Copy
A read-only field and a Button that shows its own check. No toast.
08 · Pick
A Select with an avatar and a note in each item.