SharedXamarinXamlStylesLibrary 1.0.0

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package SharedXamarinXamlStylesLibrary --version 1.0.0
NuGet\Install-Package SharedXamarinXamlStylesLibrary -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SharedXamarinXamlStylesLibrary" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SharedXamarinXamlStylesLibrary --version 1.0.0
#r "nuget: SharedXamarinXamlStylesLibrary, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install SharedXamarinXamlStylesLibrary as a Cake Addin
#addin nuget:?package=SharedXamarinXamlStylesLibrary&version=1.0.0

// Install SharedXamarinXamlStylesLibrary as a Cake Tool
#tool nuget:?package=SharedXamarinXamlStylesLibrary&version=1.0.0


This project is a shared style library for .NET MAUI applications containing recurring styles for core controls and for the Syncfusion .NET MAUI controls (

This project bases on the SharedXamarinXamlStyles (


Get the latest version from<br>

Package Nuget Downloads
SharedXamarinXamlStylesLibrary NuGet NuGet
SharedXamarinXamlStylesLibrary.Syncfusion NuGet NuGet


Since putting all FontKeys in a ResourceDictionary leads to poor performance of the app, we moved all FontKeys to a static class instead.

Used fonts

All used fonts are available from the SharedFonts.Fonts property.

public class SharedFonts
        #region Properties
        public static Dictionary<string, string> Fonts = new()
            { "FontAwesome5Brands.otf", "FontAwesome5Brands" },
            { "FontAwesome5Regular.otf", "FontAwesome5Regular" },
            { "FontAwesome5Solid.otf", "FontAwesome5Solid" },
            { "materialdesignicons-webfont.ttf", "MaterialDesignIcons" },
            { "Montserrat-Bold.ttf", "MontserratBold" },
            { "Montserrat-Medium.ttf", "MontserratMedium" },
            { "Montserrat-Regular.ttf", "MontserratRegular" },
            { "Montserrat-SemiBold.ttf", "MontserratSemiBold" },
            { "UIFontIcons.ttf", "UIFontIcons" },


This library combines all styles in the DefaultTheme.xaml, which can be merged into your LightTheme.xaml / DarkTheme.xaml.



Same applies to the DarkTheme.

Style Keys

Due to a bug in MAUI (or Visual Studio), InteliSense doesn't suggest the style keys if using a nuget.


Key TargetType Library
SeparatorStyle BoxView Core


Key TargetType Library
DefaultButtonStyle Button Core
ImageButton Button Core
IconButtonStyle Button Core
MaterialDesignIconButtonStyle Button Core
PrimaryMaterialDesignIconButtonStyle Button Core
LinkButtonStyle Button Core
LinkRoundButtonStyle Button Core
RoundIconButtonStyle Button Core
RoundedLongButtonStyle Button Core
SwipeTemplateBorderStyle Button Core
SwipeTemplateButtonStyle Button Core
RoundMaterialDesignIconButtonStyle Button Core
RoundEmergencyStopIconButtonStyle Button Core
GoogleLoginButtonStyle Button Core


Key TargetType Library
DefaultCheckBoxStyle CheckBox Core

Editor / BorderlessEditor

Key TargetType Library
DefaultEditorStyle Editor Core
DefaultBorderlessEditorStyle BorderlessEditor Core

Entry / BorderlessEntry

Key TargetType Library
DefaultEntryStyle Entry Core
NumericEntryStyle Entry Core
PasswordEntryStyle Entry Core


Key TargetType Library
DefaultFrameStyle Frame Core
ListViewItemFrameStyle Frame Core

Grid / TapAnimationGrid

Key TargetType Library
DefaultGridStyle Grid Core
DefaultSettingsGridStyle Grid Core
WarningGridStyle Grid Core
CriticalErrorGridStyle Grid Core
DefaultPanelGridStyle Grid Core
ModalPanelGridStyle Grid Core
ShellTitleViewGridStyle Grid Core
DefaultTapAnimationGridStyle TapAnimationGrid Core


Key TargetType Library
DefaultLabelStyle Label Core
LabelStyle Label Core
IconLabelStyle Label Core
MaterialSettingsIconLabelStyle Label Core
TextInputLayoutMaterialIconLabelStyle Label Core
MaterialFontFamilyIconLabelStyle Label Core
PrimaryMaterialFontFamilyIconLabelStyle Label Core
MediumLabelStyle Label Core
SmallLabelStyle Label Core
VerySmallLabelStyle Label Core
SetupLabelStyle Label Core
LinkLabelStyle Label Core
PrimaryLabelStyle Label Core
PrimaryDarkLabelStyle Label Core
WarningLabelStyle Label Core
ErrorLabelStyle Label Core
ShellLabelStyle Label Core
SettingsLabelStyle Label Core
SettingsSmallLabelStyle Label Core
HeadlineLabelStyle Label Core
PrimaryHeadlineLabelStyle Label Core
TitleViewHeadlineLabelStyle Label Core
PrimaryDarkHeadlineLabelStyle Label Core
SwipeTemplateButtonStyle Label Core
OptionButtonLabelStyle Label Core
GroupingHeaderLabelStyle Label Core
SwipeTemplateMaterialButtonStyle Label Core
MaterialFontIconSpanStyle Label Core
FontIconSpanStyle Label Core
MaterialFontFamilyIconSmallLabelStyle Label Core
MaterialSwipeTemplateButtonStyle Label Core


Key TargetType Library
DefaultPageStyle Page Core
ModalPageStyle Page Core
SettingsPageStyle Page Core


Key TargetType Library
DefaultPickerStyle Picker Core


Key TargetType Library
DefaultRefreshViewStyle RefreshView Core


Key TargetType Library
BaseStyle Element Core
DefaultShellStyle Shell Core
DefaultFlyoutItemStyle FlyoutItem Core


Key TargetType Library
DefaultSliderStyle Slider Core


Key TargetType Library
StackLayoutHeaderStyle StackLayout Core
ModalInputPageStackLayoutStyle StackLayout Core


Key TargetType Library
DefaultSwitchStyle Switch Core


Key TargetType Library
DefaultAccordionStyle SfAccordion Syncfusion
DefaultAccordionItemStyle AccordionItem Syncfusion


Key TargetType Library
DefaultAutocompleteStyle SfAutoComplete Syncfusion
DefaultMultiSelectAutoCompleteStyle MultiSelectAutoComplete Syncfusion


Key TargetType Library
DefaultBadgeViewStyle SfBadgeView Syncfusion
HyperlinkBadgedViewStyle SfBadgeView Syncfusion


Key TargetType Library
ProfileSfBorderStyle SfBorder Syncfusion
MenuSeparatorSfBorderStyle SfBorder Syncfusion
PanelCardViewSfBorderStyle SfBorder Syncfusion
MinimalPanelCardViewSfBorderStyle SfBorder Syncfusion


Key TargetType Library
DefaultBusyIndicatorStyle SfBusyIndicator Syncfusion


Key TargetType Library
DefaultSfButtonStyle SfButton Syncfusion
IconSfButtonStyle SfButton Syncfusion
MaterialDesignIconSfButtonStyle SfButton Syncfusion
LinkSfButtonStyle SfButton Syncfusion
RoundIconGradientSfButtonStyle SfButton Syncfusion
RoundedLongSfButtonStyle SfButton Syncfusion
SetupSfButtonStyle SfButton Syncfusion
SwipeTemplateSfButtonStyle SfButton Syncfusion
RoundMaterialDesignIconSfButtonStyle SfButton Syncfusion
RoundEmergencyStopIconSfButtonStyle SfButton Syncfusion


Key TargetType Library
DefaultCardViewStyle SfCardView Syncfusion
ControlPanelCardViewStyle SfCardView Syncfusion


Key TargetType Library
None... SfChart Syncfusion


Key TargetType Library
DefaultSfCheckBoxStyle SfCheckBox Syncfusion


Key TargetType Library
ColorSelectionSfChipStyle SfChip Syncfusion
DefaultSfChipGroupStyle SfChipGroup Syncfusion


Key TargetType Library
CircularProgressBarStyle SfCircularProgressBar Syncfusion
HalfCircularProgressBarStyle SfCircularProgressBar Syncfusion


Key TargetType Library
DefaultComboBoxStyle SfComboBox Syncfusion
ServerSelectionComboBoxStyle SfComboBox Syncfusion
PrinterSelectionComboBoxStyle SfComboBox Syncfusion
DefaultMultiSelectComboBox MultiSelectComboBox Syncfusion


Key TargetType Library
SfGradientViewStyle SfGradientView Syncfusion


Key TargetType Library
DefaultSfListViewStyle SfListView Syncfusion


Key TargetType Library
DefaultSfMaskedEntryStyle SfMaskedEntry Syncfusion
BorderlessMaskedEntryStyle SfMaskedEntry Syncfusion


Key TargetType Library
DefaultSfNumericTextBoxStyle SfNumericTextBox Syncfusion


Key TargetType Library
DefaultSfNumericUpDownStyle SfNumericUpDown Syncfusion


Key TargetType Library
DefaultSfDatePickerStyle SfDatePicker Syncfusion


Key TargetType Library
DefaultSfPullToRefreshStyle SfPullToRefresh Syncfusion


Key TargetType Library
DefaultSfRangeSliderStyle SfRangeSlider Syncfusion
PrimraySfRangeSliderStyle SfRangeSlider Syncfusion


Key TargetType Library
DefaultSfRotatorStyle SfRotator Syncfusion


Key TargetType Library
DefaultSfSegmentedControlStyle SfSegmentedControl Syncfusion
PrinterSfSegmentedControlStyle SfSegmentedControl Syncfusion
ProfileSfSegmentedControlStyle SfSegmentedControl Syncfusion


Key TargetType Library
DefaultSfSwitchStyle SfSwitch Syncfusion


Key TargetType Library
DefaultSfTabViewStyle SfTabView Syncfusion
DefaultSfTabViewItemStyle SfTabItem Syncfusion
ChildSfTabViewItemDefaultStyle SfTabItem Syncfusion
SmallSfTabViewItemDefaultStyle SfTabItem Syncfusion
MaterialIconSfTabViewItemStyle SfTabItem Syncfusion


Key TargetType Library
DefaultSfTextInputLayoutStyle SfTextInputLayout Syncfusion

Licenses & Thirdparty

This project uses thirdparty fonts. All licenses can be found in the project folder under Licenses → LicenseFiles. It's mandatory to also add those licenses to your final App. In this case you can use the LicenseManager class to get a List of all used libraries and their licenses.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on SharedXamarinXamlStylesLibrary:

Package Downloads

A shared styles & control library for Xamarin.Forms applications.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1-preview1 79 2/1/2024
1.0.0 200 12/25/2023

Check GitHub releases for changelog.