Separator
A thin line that divides content, horizontally or vertically.
Installation
bash
shellui-native add separator
Platforms: MAUI · Avalonia.
Usage
Basic
ShellUI Native
MAUI and Avalonia components.
BlogDocsSource
<ui:ShellLabel Text="ShellUI Native" Size="Sm" Weight="Medium" />
<ui:ShellLabel Text="MAUI and Avalonia components." Size="Sm" Variant="Muted" />
<ui:Separator Margin="0,16" />
<HorizontalStackLayout Spacing="16" HeightRequest="20">
<ui:ShellLabel Text="Blog" Size="Sm" />
<ui:Separator Orientation="Vertical" />
<ui:ShellLabel Text="Docs" Size="Sm" />
<ui:Separator Orientation="Vertical" />
<ui:ShellLabel Text="Source" Size="Sm" />
</HorizontalStackLayout><ui:ShellLabel Text="ShellUI Native" Size="Sm" Weight="Medium" />
<ui:ShellLabel Text="MAUI and Avalonia components." Size="Sm" Variant="Muted" />
<ui:Separator Margin="0,16" />
<StackPanel Orientation="Horizontal" Spacing="16" Height="20">
<ui:ShellLabel Text="Blog" Size="Sm" />
<ui:Separator Orientation="Vertical" />
<ui:ShellLabel Text="Docs" Size="Sm" />
<ui:Separator Orientation="Vertical" />
<ui:ShellLabel Text="Source" Size="Sm" />
</StackPanel>Not available on yet
API
| Property | Type | Default | Description |
|---|---|---|---|
Orientation |
SeparatorOrientation |
Horizontal |
Horizontal or Vertical. One of Horizontal, Vertical. |