<MudOverlay Visible="Visible" DarkBackground="false">
    <div class="overlay-container">
        <span>@(Text ?? "Caricamento")</span>

        <MudProgressLinear Color="Color.Primary" Rounded="true" Size="Size.Medium" Indeterminate="true" />
    </div>
</MudOverlay>

@code
{
    [Parameter] public bool Visible { get; set; }
    [Parameter] public string? Text { get; set; }
}