Expands and fills available space.

Basic Usage

The MudSpacer component simply expands and fills available space. Its size is dependent on the parent's size.

Item 1
Item 2
<MudPaper Class=" pa-4 align-start d-flex" Style="width: 250px;" Outlined="true">
    <MudPaper Class="pa-3" Elevation="6">Item 1</MudPaper>
    <MudSpacer />
    <MudPaper Class="pa-3" Elevation="6">Item 2</MudPaper>

    MudSpacer is shorthand for: <div class="flex-grow-1" />

Copyright © 2020-2024 MudBlazor.

Powered by .NET 8.0.3

An unhandled error has occurred. Reload 🗙