Skip to content
English
Don't know what it's called53 / 71

Dialog or drawer

What it's calledDrawerside panelmodal dialogGlossary

What goes wrong

Editing one row in a centred dialog hides the table it came from, so people lose their place and cannot check the neighbouring rows.

The fix

Open details and edits in a drawer from the side so the list stays in view; keep centred dialogs for short decisions.

Tell your AI

Open row details in a drawer on the right, inset var(--ds-space-8) (8px) from the edges with var(--ds-radius-xl) (24px) corners and box-shadow: var(--ds-shadow-lg), sliding in over var(--ds-duration-slow) (360ms) with var(--ds-ease-out) while the table stays in view and the edited row keeps a var(--ds-accent-soft) highlight; keep centred dialogs for short yes-or-no decisions.

  • --ds-space-88px
  • --ds-radius-xl24px
  • --ds-shadow-lg
  • --ds-duration-slow360ms
  • --ds-ease-out
  • --ds-accent-soft
Why AI-generated UIs all look the same: 12 rules that fix it

Products24 items
Edit itemLinen tote
Shown in shop

The table you were editing is out of sight