### Create Project with Blurs Enabled Source: https://github.com/enisn/uraniumui/blob/develop/docs/en/Getting-Started.md Example of creating a new Uranium UI project and enabling the UraniumUI.Blurs setup. ```bash dotnet new uraniumui-app -n MyProject --Blurs true ``` -------------------------------- ### Install Uranium UI Project Templates Source: https://github.com/enisn/uraniumui/blob/develop/docs/en/Getting-Started.md Installs the latest Uranium UI project templates from NuGet. This is the first step for creating new projects with Uranium UI. ```bash dotnet new install UraniumUI.Templates ``` -------------------------------- ### Install CommunityToolkit Dialogs Package Source: https://github.com/enisn/uraniumui/blob/develop/docs/en/dialogs/Index.md Install the CommunityToolkit dialogs package using the .NET CLI. ```bash dotnet add package UraniumUI.Dialogs.CommunityToolkit ``` -------------------------------- ### Add UraniumUI.WebComponents Package Source: https://github.com/enisn/uraniumui/blob/develop/docs/en/web-components/CodeView.md Install the UraniumUI.WebComponents NuGet package using the .NET CLI. ```bash dotnet add package UraniumUI.WebComponents ``` -------------------------------- ### Create Project with Fluent Icons Source: https://github.com/enisn/uraniumui/blob/develop/docs/en/Getting-Started.md Example of creating a new Uranium UI project and specifying the Fluent Icons package. ```bash dotnet new uraniumui-app -n MyProject --Icons FluentIcons ``` -------------------------------- ### Install Mopups Dialogs Package Source: https://github.com/enisn/uraniumui/blob/develop/docs/en/dialogs/Index.md Install the Mopups dialogs package using the .NET CLI. ```bash dotnet add package UraniumUI.Dialogs.Mopups ``` -------------------------------- ### Create Project with CommunityToolkit Dialogs Source: https://github.com/enisn/uraniumui/blob/develop/docs/en/Getting-Started.md Example of creating a new Uranium UI project and configuring it to use CommunityToolkit for dialogs. ```bash dotnet new uraniumui-app -n MyProject --Dialogs CommunityToolkit ``` -------------------------------- ### Install DataAnnotations NuGet Package Source: https://github.com/enisn/uraniumui/blob/develop/docs/en/validations/DataAnnotations.md Install the `UraniumUI.Validations.DataAnnotations` package to enable DataAnnotations validation. ```bash dotnet add package UraniumUI.Validations.DataAnnotations ``` -------------------------------- ### Basic PickerField Usage Source: https://github.com/enisn/uraniumui/blob/develop/docs/en/themes/material/components/PickerField.md Demonstrates the basic setup for a PickerField in XAML, including namespace declarations and binding to an ItemsSource. ```xml xmlns:material="http://schemas.enisn-projects.io/dotnet/maui/uraniumui/material" xmlns:m="clr-namespace:UraniumUI.Icons.MaterialSymbols;assembly=UraniumUI.Icons.MaterialSymbols" ``` -------------------------------- ### Add UraniumUI.Blurs Package Source: https://github.com/enisn/uraniumui/blob/develop/docs/en/Blurs.md Install the UraniumUI.Blurs NuGet package to your project using the .NET CLI. ```bash dotnet add package UraniumUI.Blurs ``` -------------------------------- ### Basic Chip Usage Source: https://github.com/enisn/uraniumui/blob/develop/docs/en/themes/material/Chip.md A simple example of how to use the Chip component with just text. Ensure the Material namespace is declared. ```xml ``` -------------------------------- ### DataGrid ViewModel Example Source: https://github.com/enisn/uraniumui/blob/develop/docs/en/themes/material/components/DataGrid.md Define a ViewModel with an ObservableCollection of data items to be displayed in the DataGrid. This example uses a simple Student class. ```csharp public class MainPageViewModel : BindableObject { static Random random = new(); public ObservableCollection Items { get; } public MainPageViewModel() { Items = new ObservableCollection(); for (int i = 0; i < 10; i++) { Items.Add(new Student { Id = i, Name = "Person " + i, Age = random.Next(14, 85), }); } } public class Student { public int Id { get; set; } public string Name { get; set; } public int Age { get; set; } } } ``` -------------------------------- ### Chip Examples with Customization Source: https://github.com/enisn/uraniumui/blob/develop/docs/en/themes/material/Chip.md Demonstrates using Chips with different text and controlling the visibility of the remove button. The 'IsDestroyVisible' property defaults to true. ```xml ``` -------------------------------- ### Create New Uranium UI Blank Project Source: https://github.com/enisn/uraniumui/blob/develop/docs/en/Getting-Started.md Creates a new, minimal .NET MAUI project with Uranium UI. Use this for a barebones setup. Replace 'MyProject' with your desired project name. ```bash dotnet new uraniumui-blank-app -n MyProject ``` -------------------------------- ### Display Text Prompt Source: https://github.com/enisn/uraniumui/blob/develop/docs/en/dialogs/Index.md Illustrates how to use `DisplayTextPromptAsync` to get text input from the user, similar to the default MAUI `DisplayPromptAsync`. Allows setting a placeholder. ```csharp private async void Button_Clicked(object sender, EventArgs e) { var result = await this.DisplayTextPromptAsync("Your Name", "What is your name?", placeholder: "Uvuvwevwevwe...Osas"); await DisplayAlert("Result:", result, "OK"); } ``` -------------------------------- ### Configure Segoe Fluent Icon Fonts Source: https://github.com/enisn/uraniumui/blob/develop/docs/en/theming/Icons.md Add this line to your `MauiProgram.cs` to configure Segoe Fluent icon fonts. This is required after installing the `UraniumUI.Icons.SegoeFluent` package. ```csharp builder .UseMauiApp() .ConfigureFonts(fonts => { fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular"); fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold"); fonts.AddFluentIconFonts(); // 👈 Add this line }) ``` -------------------------------- ### Basic DynamicContentView Usage in XAML Source: https://github.com/enisn/uraniumui/blob/develop/docs/en/infrastructure/DynamicContentView.md Demonstrates the basic setup of DynamicContentView in XAML, binding to a boolean value and defining conditions for 'True' and 'False' states. ```xml xmlns:uranium="http://schemas.enisn-projects.io/dotnet/maui/uraniumui" ``` -------------------------------- ### Basic AutoCompleteTextField Setup Source: https://github.com/enisn/uraniumui/blob/develop/docs/en/themes/material/components/AutoCompleteTextField.md This snippet shows how to set up an AutoCompleteTextField with a title, clear button, and binding to suggestion and text properties. Use this for basic text input with dynamic suggestions. ```xml ``` -------------------------------- ### All MAUI Material Button Types Source: https://github.com/enisn/uraniumui/blob/develop/docs/en/themes/material/Buttons.md Demonstrates all available Material button style classes, including their disabled states. This example showcases the visual appearance of each button type. ```xml