ArtificialSenseDocs

Docs / Components

SenseToastComponent

Transient notification region driven by SenseToastService from @artificialsenselabs/ui.

Prefer toast for global, auto-dismiss outcomes; use sense-alert for page/section banners and sense-message for field/inline helpers.

Live demo: run nx serve showcase and open /components/toast (port 4202).

Overview

Category: Feedback. Selector: sense-toast. Import: import { SenseToastComponent, SenseToastService } from '@artificialsenselabs/ui';

Unkeyed <sense-toast /> regions render only messages without a key; keyed regions match exactly so global and scoped stacks do not duplicate.

Accessibility

  • Region exposes aria-label for the toast stack.
  • Severity chooses alert vs status live region semantics.
  • Closable toasts provide an accessible dismiss control.