Skip to content
GaudiGaudi Design System home

Search documentation

Search every page, heading and paragraph.

States & recovery

Loading, empty, error, disabled and read-only states, and how components recover.

Interactive owners document their states alongside their examples. Shared conventions:

  • Loading: compose Core Skeleton and Loader; placeholder layouts are decorative and hidden from assistive technology.
  • Empty: use EmptyState with a clear next action.
  • Errors: associate messages with their field (Field); use Banner and Toast for page-level feedback.
  • Disabled and read-only: respect changes immediately, keep read-only values focusable and copyable.
  • Controlled values stay authoritative: compose host callbacks and honour cancellation where the contract allows it.
  • Async work: clean up listeners, timers and pending work, and prevent stale results from affecting a different request or an unmounted view.

Gaudi owns presentation, semantics, keyboard/focus behaviour and local interaction state. Applications own business rules, permissions, persistence and service requests; mocked uploads, messages and saves in examples never connect to real services.