MaterialDesignColors 5.4.0-ci1508
See the version list below for details.
dotnet add package MaterialDesignColors --version 5.4.0-ci1508
NuGet\Install-Package MaterialDesignColors -Version 5.4.0-ci1508
<PackageReference Include="MaterialDesignColors" Version="5.4.0-ci1508" />
<PackageVersion Include="MaterialDesignColors" Version="5.4.0-ci1508" />
<PackageReference Include="MaterialDesignColors" />
paket add MaterialDesignColors --version 5.4.0-ci1508
#r "nuget: MaterialDesignColors, 5.4.0-ci1508"
#:package MaterialDesignColors@5.4.0-ci1508
#addin nuget:?package=MaterialDesignColors&version=5.4.0-ci1508&prerelease
#tool nuget:?package=MaterialDesignColors&version=5.4.0-ci1508&prerelease
Material Design In XAML Toolkit ![Logo of Material Design in XAML]()
Comprehensive and easy to use Material Design theme and control library for the Windows desktop (WPF).
- Material Design styles for all major WPF Framework controls
- Additional controls to support the theme, including Multi Action Button, Cards, Dialogs, Clock
- Easy configuration of palette (at design and runtime), according to Google's guidelines
- Full Material Design Icons icon pack
- Easy transition effects
- Compatible with Dragablz, MahApps
- Demo applications included in the source project
<details> <summary>Table of contents</summary>
- Getting started
- Building the source
- Screenshots
- More examples
- FAQ
- Contributing
- Mentions
- Backers
- Sponsors
</details>
Getting started
See the full starting guide for more in-depth information.
This quick guide assumes you have already created a WPF project and are using Microsoft Visual Studio 2022.
- Install the toolkit through the visual NuGet package manager in Visual Studio or use the following command:
Install-Package MaterialDesignThemes
- Alter your
App.xaml
<Application
x:Class="Example.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
StartupUri="MainWindow.xaml">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<materialDesign:BundledTheme BaseTheme="Light" PrimaryColor="DeepPurple" SecondaryColor="Lime" />
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesign2.Defaults.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
</Application>
If you want to target Material Design 3, alter the
ResourceDictionaryline in the snippet above to useMaterialDesign3.Defaults.xaml.Alter your
MainWindow.xaml
<Window [...]
Style="{StaticResource MaterialDesignWindow}"
[...] >
XML Namespaces
The toolkit exposes two XML namespaces for use in XAML:
| Prefix | URI | Description |
|---|---|---|
materialDesign |
http://materialdesigninxaml.net/winfx/xaml/themes |
Primary namespace for all public Material Design types, controls, and converters. |
materialDesignInternal |
http://materialdesigninxaml.net/winfx/xaml/themes-internal |
Namespace for types in internal sub-namespaces (MaterialDesignThemes.Wpf.Internal, MaterialDesignThemes.Wpf.Converters.Internal, MaterialDesignThemes.Wpf.Behaviors.Internal). |
Types exposed via the materialDesignInternal namespace are considered internal implementation details and are not guaranteed to maintain backwards-compatibility between versions. Use them at your own risk.
To use the internal namespace in XAML:
<Window ...
xmlns:materialDesignInternal="http://materialdesigninxaml.net/winfx/xaml/themes-internal">
Building the source
To build the project, following is required:
- Microsoft Visual Studio 2022
- .NET desktop development workload
This repository also contains 3 different demo applications:
MaterialDesignDemo- Reference WPF app with Material Design 2 styling, this contains all controls and is a recommended tool when developing apps with this libraryMaterialDesign3Demo- Reference WPF app with Material Design 3 styling, under developmentMahAppsDragablzDemo- Demo app for combining with Dragablz and MahApps
Screenshots
<details> <summary>Material Design 3 demo app screenshots</summary>
</details>
<details>
<summary>Material Design 2 demo app screenshots</summary>
The screenshots below are taken from the Material Design 2 demo app. Material Design 3 is the latest version, so the UI shown here may differ from the latest design.
</details>
More examples
FAQ
Contributing
Before contributing code read the Contribution Guidelines
- GitHub issues are for bugs and feature requests.
- For questions, help and chat in general, please use the GitHub discussion tab or the Discord server.
- Stack Overflow tag:
material-design-in-xaml
Want to say thanks? 🙏🏻
- Hit the ⭐ star ⭐ button
- If you'd like to make a very much appreciated financial donation please visit <a href='https://opencollective.com/materialdesigninxaml'>open collective</a>
This project exists thanks to all the people who contribute.
<a href="https://github.com/MaterialDesignInXAML/MaterialDesignInXamlToolkit/graphs/contributors"> <img src="https://contrib.rocks/image?repo=MaterialDesignInXAML/MaterialDesignInXamlToolkit" /> </a>
Mentions
- James Willock
- Founder of the project
- Kevin Bost
- Maintainer of the repository
- Snalty
- Designer of the logo
- Icon pack sourced from Material Design Icons
- ControlzEx - Library used in MaterialDesignInXAML
- Ignace Maes - Whose Material Skin project inspired the original material design theme for Dragablz, which in turn led James Willock start this project
- Material Design Extensions - A community repository based on this library that provides additional controls and features.
- Contributors - A big thank you to all the contributors of the project!
Backers
Thank you to all our backers! 🙏 Become a backer.
<a href="https://opencollective.com/materialdesigninxaml#backers" target="_blank"><img src="https://opencollective.com/materialdesigninxaml/backers.svg?width=890"></a>
Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. Become a sponsor.
<a href="https://opencollective.com/materialdesigninxaml/sponsor/0/website" target="_blank"><img src="https://opencollective.com/materialdesigninxaml/sponsor/0/avatar.svg"></a> <a href="https://opencollective.com/materialdesigninxaml/sponsor/1/website" target="_blank"><img src="https://opencollective.com/materialdesigninxaml/sponsor/1/avatar.svg"></a> <a href="https://opencollective.com/materialdesigninxaml/sponsor/2/website" target="_blank"><img src="https://opencollective.com/materialdesigninxaml/sponsor/2/avatar.svg"></a> <a href="https://opencollective.com/materialdesigninxaml/sponsor/3/website" target="_blank"><img src="https://opencollective.com/materialdesigninxaml/sponsor/3/avatar.svg"></a> <a href="https://opencollective.com/materialdesigninxaml/sponsor/4/website" target="_blank"><img src="https://opencollective.com/materialdesigninxaml/sponsor/4/avatar.svg"></a> <a href="https://opencollective.com/materialdesigninxaml/sponsor/5/website" target="_blank"><img src="https://opencollective.com/materialdesigninxaml/sponsor/5/avatar.svg"></a> <a href="https://opencollective.com/materialdesigninxaml/sponsor/6/website" target="_blank"><img src="https://opencollective.com/materialdesigninxaml/sponsor/6/avatar.svg"></a> <a href="https://opencollective.com/materialdesigninxaml/sponsor/7/website" target="_blank"><img src="https://opencollective.com/materialdesigninxaml/sponsor/7/avatar.svg"></a> <a href="https://opencollective.com/materialdesigninxaml/sponsor/8/website" target="_blank"><img src="https://opencollective.com/materialdesigninxaml/sponsor/8/avatar.svg"></a> <a href="https://opencollective.com/materialdesigninxaml/sponsor/9/website" target="_blank"><img src="https://opencollective.com/materialdesigninxaml/sponsor/9/avatar.svg"></a>
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0-windows7.0 is compatible. net9.0-windows was computed. net10.0-windows was computed. net10.0-windows7.0 is compatible. |
| .NET Framework | net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 4.6.2
- No dependencies.
-
net10.0-windows7.0
- No dependencies.
-
net8.0-windows7.0
- No dependencies.
NuGet packages (86)
Showing the top 5 NuGet packages that depend on MaterialDesignColors:
| Package | Downloads |
|---|---|
|
MaterialDesignThemes
ResourceDictionary instances containing Material Design templates and styles for WPF controls in .NET. |
|
|
MaterialDesignThemes.MahApps
ResourceDictionary instances containing Material Design templates and styles for WPF controls in the MahApps library. |
|
|
MaterialDesignExtensions
Material Design Extensions is based on Material Design in XAML Toolkit to provide additional controls and features for WPF apps. The controls might not be specified in the Material Design specification or would crash the scope of Material Design in XAML Toolkit. |
|
|
MaterialDesignThemes.Wpf
Material Design in XAML Toolkit - WPF Themes |
|
|
MepApps.MepControls
Mep Apps Inc. Base Code Module |
GitHub repositories (3)
Showing the top 3 popular GitHub repositories that depend on MaterialDesignColors:
| Repository | Stars |
|---|---|
|
TGSAN/CMWTAT_Digital_Edition
CloudMoe Windows 10/11 Activation Toolkit get digital license, the best open source Win 10/11 activator in GitHub. GitHub 上最棒的开源 Win10/Win11 数字权利(数字许可证)激活工具!
|
|
|
MahApps/MahApps.Metro
A framework that allows developers to cobble together a better UI for their own WPF applications with minimal effort.
|
|
|
ramjke/Translumo
Advanced real-time screen translator for games, hardcoded subtitles in videos, static text and etc.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 5.4.1-ci1521 | 334 | 10/20/2026 |
| 5.4.0 | 22,425 | 10/20/2026 |
| 5.4.0-ci1519 | 140 | 10/18/2026 |
| 5.4.0-ci1517 | 142 | 10/16/2026 |
| 5.4.0-ci1510 | 193 | 10/9/2026 |
| 5.4.0-ci1508 | 147 | 10/7/2026 |
| 5.4.0-ci1507 | 127 | 10/6/2026 |
| 5.4.0-ci1506 | 144 | 10/5/2026 |
| 5.4.0-ci1505 | 134 | 10/4/2026 |
| 5.4.0-ci1504 | 138 | 10/3/2026 |
| 5.4.0-ci1502 | 134 | 10/1/2026 |
| 5.4.0-ci1501 | 157 | 9/30/2026 |
| 5.4.0-ci1500 | 130 | 9/29/2026 |
| 5.4.0-ci1499 | 135 | 9/28/2026 |
| 5.4.0-ci1496 | 138 | 9/25/2026 |
| 5.4.0-ci1492 | 190 | 9/21/2026 |
| 5.4.0-ci1487 | 182 | 9/16/2026 |
| 5.4.0-ci1482 | 215 | 9/11/2026 |
| 5.4.0-ci1475 | 243 | 9/4/2026 |
| 5.3.3-ci1462 | 298 | 8/22/2026 |