Getting Started
Overview
Installation
Theme
Forms
Basic Inputs
Custom Inputs
Select
Components
Components
78
Micro Charts
Navigation
Libraries
Content Editor
Data View
Form Builder
Image Designer
Kanban Board
PDF Viewer
Video Player
Visual Builder
Latest npm version of @ngstarter-ui/componentsWeekly npm downloads of @ngstarter-ui/components
Buy License

Confirm

Confirm is a standardized confirmation dialog for a short binary decision before an important action. Use it through ConfirmManager.open({ title, description }) when users must confirm or cancel a destructive, irreversible, or high-impact operation.

Use it for:
  • Delete, unpublish, archive, reset, discard changes, leave with unsaved changes, or bulk actions.
  • Short confirm/cancel decisions with one title and one description.
  • Handling the result through confirmed, canceled, and closed events on ConfirmRef.
  • Showing confirmations from pages, tables, action bars, or even inside an existing dialog flow.

Do not use Confirm for long forms, custom modal layouts, wizards, informational dialogs, settings panels, or choices with more than two outcomes. Use Dialog for custom modal content.

The NgStarter Angular Confirm component lets you show a standardized confirmation dialog for a short binary decision before an important action. Use through ConfirmManager.open({ title, description }) before delete, unpublish, archive, reset, discard changes, leave with unsaved changes, bulk, destructive, irreversible, or high-impact operations. It includes examples for Basic Confirm, Confirm From Dialog, Confirm form modal, and Dialog with confirmation.

Basic Confirm

Use Confirm for a short confirm/cancel decision before a destructive or high-impact action.

Confirm From Dialog

Open Confirm from an existing dialog when a nested action inside that flow needs explicit confirmation.