Overlays
Overlays
Open dialog Open drawer
Usage
@inject IDialogService DialogService

<FluentButton OnClick="OpenDialogAsync">Open dialog</FluentButton>

@code {
    private Task OpenDialogAsync() =>
        DialogService.ShowConfirmationAsync("Are you sure?", "Demo dialog", "Confirm", "Cancel");
}