create PreviewItem control
MODIFY
WalletWasabi.Fluent/App.axaml
WalletWasabi.Fluent/App.axaml
<StyleInclude Source="avares://WalletWasabi.Fluent/Controls/NavBarTreeItem.axaml" />
<StyleInclude Source="avares://WalletWasabi.Fluent/Controls/TileButton.axaml" />
<StyleInclude Source="avares://WalletWasabi.Fluent/Controls/QuestionControl.axaml" />
+ <StyleInclude Source="avares://WalletWasabi.Fluent/Controls/PreviewItem.axaml" />
</Application.Styles>
<NativeMenu.Menu>
<NativeMenu>

ADD
WalletWasabi.Fluent/Controls/PreviewItem.axaml
+<Styles xmlns="https://github.com/avaloniaui"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:c="using:WalletWasabi.Fluent.Controls">
+
+ <Style Selector="c|PreviewItem">
+ <Setter Property="Template">
+ <ControlTemplate>
+ <StackPanel Orientation="Horizontal" Spacing="30">
+ <PathIcon Width="{TemplateBinding IconSize}" Height="{TemplateBinding IconSize}" Data="{TemplateBinding Icon}"
+ Foreground="{DynamicResource SystemAccentColor}" />
+ <StackPanel Spacing="5">
+ <TextBlock Text="{TemplateBinding Text}" Classes="storyline" />
+ <ContentPresenter Name="PART_ContentPresenter" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" />
+ </StackPanel>
+ </StackPanel>
+ </ControlTemplate>
+ </Setter>
+ </Style>
+
+ <Style Selector="c|PreviewItem#PART_ContentPresenter :is(TextBlock)">
+ <Setter Property="FontSize" Value="14" />
+ <Setter Property="Opacity" Value="0.85" />
+ </Style>
+
+ <Style Selector="TextBlock.storyline">
+ <Setter Property="Opacity" Value="0.6" />
+ <Setter Property="FontSize" Value="14" />
+ </Style>
+
+
+</Styles>

ADD
WalletWasabi.Fluent/Controls/PreviewItem.axaml.cs
+using System.Windows.Input;
+using Avalonia;
+using Avalonia.Controls;
+using Avalonia.Media;
+
+namespace WalletWasabi.Fluent.Controls
+{
+ public class PreviewItem : ContentControl
+ {
+ public static readonly StyledProperty<string> TextProperty =
+ AvaloniaProperty.Register<PreviewItem, string>(nameof(Text));
+
+ public static readonly StyledProperty<Geometry> IconProperty =
+ AvaloniaProperty.Register<PreviewItem, Geometry>(nameof(Icon));
+
+ public static readonly StyledProperty<double> IconSizeProperty =
+ AvaloniaProperty.Register<PreviewItem, double>(nameof(IconSize), 24);
+
+ public string Text
+ {
+ get => GetValue(TextProperty);
+ set => SetValue(TextProperty, value);
+ }
+
+ public Geometry Icon
+ {
+ get => GetValue(IconProperty);
+ set => SetValue(IconProperty, value);
+ }
+
+ public double IconSize
+ {
+ get => GetValue(IconSizeProperty);
+ set => SetValue(IconSizeProperty, value);
+ }
+ }
+}

create PreviewItem control