<MudPaper Class="@CssClass" Elevation="@Elevation">
    @if (!string.IsNullOrWhiteSpace(Title))
    {
        <MudText Typo="Typo.h6" Class="mb-3">@Title</MudText>
    }
    @ChildContent
</MudPaper>

@code {
    [Parameter]
    public string? Title { get; set; }

    [Parameter]
    public RenderFragment? ChildContent { get; set; }

    [Parameter]
    public string CssClass { get; set; } = "pa-4";

    [Parameter]
    public int Elevation { get; set; } = 1;
}
