Docs / Components

SenseConfirmDialogComponent

Modal confirmation dialog with accept/reject actions and service-driven API from @artificialsenselabs/ui.

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

Overview

Category: Overlay. Selector: sense-confirm-dialog. Import: import { SenseConfirmDialogComponent, SenseConfirmationService } from '@artificialsenselabs/ui';

Accessibility

  • Modal exposes role="alertdialog" with labelled header and message.
  • Focus trap keeps tab order inside the dialog while open.
  • Default focus targets accept, reject, or close per defaultFocus input.