The IsabyteDialogue component provides a modal or non-modal draggable dialogue with customizable Yes/No/Cancel buttons, extensible custom buttons with panel-swap support, and a help icon.
<IsabyteDialogue @bind-Visible="_isOpen"
OnClose="HandleClose">
<ChildContent>
<p>Your dialogue content here.</p>
</ChildContent>
<Buttons>
<IsabyteDialogueButton Text="Settings" Icon="bi bi-gear">
<PanelContent>Panel content here</PanelContent>
</IsabyteDialogueButton>
</Buttons>
</IsabyteDialogue>
@code {
private bool _isOpen = false;
private void HandleClose(IsabyteDialogueResult result)
{
Console.WriteLine($"Closed: {result.Reason}");
}
}