Add the component library, register its services once, and include the static stylesheet.
Add the package when published, or a project reference while developing this repository.
<ProjectReference Include="../BlazorUI.Components/BlazorUI.Components.csproj" />Registration provides dialogs, notifications, and stable component IDs. Icons are static definitions; theme and font values are CSS variables.
builder.Services.AddBlazorUIComponents();The hosts are added once in the application layout. Ordinary components do not require a host.
<link rel="stylesheet" href="_content/BlazorUI.Components/blazorui.css" />
<BuiDialogHost />
<BuiNotificationHost />