Basic
Open a typed confirmation flow from code and react only when the user chooses the confirm action.
Icons by @ng-icons/tabler-icons
The component library does not provide icons.
Component Blueprint
Typed confirmation dialog built on modal primitives with configurable title, description, and action labels.
TS
import { Component, inject } from '@angular/core';
import { FrButtonModule } from '@frame-ui-ng/components/button';
import { FrConfirmModalModule } from '@frame-ui-ng/components/confirm-modal';TS
shipRelease(): void {
// Continue with the confirmed action.
}HTML
<button
frButton
type="button"
[frConfirmModal]="{
title: 'Ship release?',
description: 'This will notify everyone watching the release channel.'
}"
(frConfirmModalConfirmed)="shipRelease()"
>
Ship release
</button>Open a typed confirmation flow from code and react only when the user chooses the confirm action.
Inject the service when the confirmation should be opened from application logic instead of a direct trigger.
Adjust the title, description, and action copy to match the consequence of the decision.
Confirm modal inherits the modal surface tokens, so it can be themed together with every other dialog.
Confirm modal reuses modal tokens so confirmation flows stay visually aligned with the rest of the overlay system.