Modal & sheet
Two overlay patterns: centered modal for short confirmations, side sheet for deeper edits without losing context. Five compositions covering both.
Confirm modal · standard
Title + body + Cancel/Primary buttons. The lightest pattern.
Close shift S-2841?
This will reconcile cash and lock Till 02. You can’t reopen a closed shift — only the next day.
Destructive modal · with typed confirm
For irreversible actions — delete workspace, archive a year. Requires typing the record name to confirm.
Delete workspace Mukamba Group?
5 sites · 2,418 SKUs · 184 employees · 18,420 receipts. This can’t be undone. Type mukamba-group to confirm.
Side sheet · quick edit
Slides from the right. Lets the operator edit a record without leaving the list.
Edit · Tariro Moyo
Modal · embedded form
The new-record dialog. More form fields than a confirmation; fewer than a full page.
New supplier
Capture identity and KYC docs. Bank details can be added later.
Side sheet · audit detail
Read-only sheet showing the diff for a single audit event.
Audit event · AUD-1842
Shared rules
What every composition obeys.
Reach for a modal when the user must respond. Anything optional belongs in a sheet or inline.
Stack a modal on top of another modal. If you need two decisions, redesign the flow.
Use a sheet when the list context must stay visible.
Make a sheet wider than 540 px. Past that, use a full detail page.