Modal dialog · Swiss
A modal dialog with a dimmed scrim, focus trap, Escape and scrim-click dismiss, scroll lock, focus return to the trigger and an inline-validated invite form.
Design · Swiss9 / 20
Heavy 6px top rule, red '01 — Share' index, huge tight headline, underline field and a flush two-cell button row.
Motion
The dialog grows from the button that opened it, scaling out from the trigger's position over a fading scrim.
Accent
A modal dialog with a dimmed scrim, focus trap, Escape and scrim-click dismiss, scroll lock, focus return to the trigger and an inline-validated invite form.
modaldialogoverlayfocus trapforminvitescrim