development-plugin-for-avalonia

Fluent Typography, Layout, Shape, and Iconography in Avalonia

Scope and Primary APIs

Use this reference to shape Fluent visual tone beyond just colors.

Primary APIs:

Typography Guidance

<StackPanel xmlns="https://github.com/avaloniaui"
            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
            Spacing="4">
  <TextBlock FontSize="30" FontWeight="SemiBold" Text="Release center" />
  <TextBlock Foreground="{DynamicResource Brush.Text.Secondary}"
             Text="Ship Fluent UI with calm spacing and direct copy." />
</StackPanel>

Layout and Shape

Iconography

<StackPanel xmlns="https://github.com/avaloniaui"
            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
            Orientation="Horizontal"
            Spacing="8">
  <PathIcon Data="{StaticResource Icon.Deploy}" />
  <TextBlock Text="Deploy" FontWeight="SemiBold" />
</StackPanel>

Guidance:

For public icon-set selection, library sourcing, and all Avalonia icon-delivery options, see 13-fluent-icons-public-icon-sets-selection-and-avalonia-usage.md.

AOT and Runtime Notes

Do and Don’t Guidance

Do:

Do not:

Troubleshooting

  1. Fluent UI still feels generic.
    • Tighten content hierarchy and shell spacing; palette alone will not create Fluent tone.
  2. Command bars feel crowded.
    • Reduce concurrent actions, align icon sizes, and simplify the label hierarchy.
  3. Typography drifts between views.
    • Centralize text roles into shared styles rather than view-local ad hoc values.

Official Resources