using Xui.Core.UI; using Xui.ToolKit.UI.Branding; using Xui.ToolKit.UI.Design; using Xui.ToolKit.UI.Widgets; public sealed class FirstPage : Border { public FirstPage() { var count = 0; var result = new Label { Text = "Ready for your first click?", FontFamily = "Inter", FontSize = 18, Margin = 8 }; var action = new Button { Id = "FirstPage.Count", Text = "Count a click", Margin = 8 }; action.Clicked = () => result.Text = $"You clicked {++count} times."; Content = new DesignSystemView(new VerticalStack { Margin = 24, Content = [new XuiLogoView { Margin = 24 }, result, action] }); } }