moja kirijadesign

Patterns

Feedback that does not move the page

Success is a toast; an error that needs an action stays in place.

Accepted· design/HANDOVER.md · Feedback that must not move the page
  • Success is a toast: bottom-left on desk, bottom-centre above the dock on a phone. role="status", a 1px line, no shadow, gone after about 4s; a new one replaces the old.
  • An error that needs an action stays in place and never toasts. It swaps the text of a slot that is already there. A new line never pushes content down.
  • Deleting morphs the row in place: the bin grows into "Obrišite", "Odustanite" fades in beside it, the row height does not change.