diff --git a/CommunityToolkit.App.Shared/CommunityToolkit.App.Shared.projitems b/CommunityToolkit.App.Shared/CommunityToolkit.App.Shared.projitems
index 9205b1a3..732e956e 100644
--- a/CommunityToolkit.App.Shared/CommunityToolkit.App.Shared.projitems
+++ b/CommunityToolkit.App.Shared/CommunityToolkit.App.Shared.projitems
@@ -247,8 +247,6 @@
-
-
diff --git a/CommunityToolkit.App.Shared/Helpers/NavigationViewHelper.cs b/CommunityToolkit.App.Shared/Helpers/NavigationViewHelper.cs
index e312ef2b..595421f1 100644
--- a/CommunityToolkit.App.Shared/Helpers/NavigationViewHelper.cs
+++ b/CommunityToolkit.App.Shared/Helpers/NavigationViewHelper.cs
@@ -41,12 +41,23 @@ public static class NavigationViewHelper
{
foreach (var metadata in sampleMetadata.OrderBy(meta => meta.Title))
{
- yield return new MUXC.NavigationViewItem
+ MUXC.NavigationViewItem navItem = new MUXC.NavigationViewItem
{
Content = metadata.Title,
- Icon = new BitmapIcon() { ShowAsMonochrome = false, UriSource = new Uri(IconHelper.GetIconPath(metadata.Icon)) },
+ Icon = new BitmapIcon()
+ {
+ ShowAsMonochrome = false,
+ UriSource = new Uri(IconHelper.GetIconPath(metadata.Icon))
+ },
Tag = metadata,
};
+
+ // Check if this is a Labs component
+ if (metadata.IsExperimental == true)
+ {
+ navItem.InfoBadge = new MUXC.InfoBadge() { Style = (Style)App.Current.Resources["LabsIconBadgeStyle"] };
+ }
+ yield return navItem;
}
}
diff --git a/CommunityToolkit.App.Shared/Renderers/ToolkitDocumentationRenderer.xaml b/CommunityToolkit.App.Shared/Renderers/ToolkitDocumentationRenderer.xaml
index b2d85034..966451f5 100644
--- a/CommunityToolkit.App.Shared/Renderers/ToolkitDocumentationRenderer.xaml
+++ b/CommunityToolkit.App.Shared/Renderers/ToolkitDocumentationRenderer.xaml
@@ -17,6 +17,7 @@
mc:Ignorable="d wasm">
+
-
+