![]() |
VOOZH | about |
dotnet add package MaterialDesignColors --version 5.3.2
NuGet\Install-Package MaterialDesignColors -Version 5.3.2
<PackageReference Include="MaterialDesignColors" Version="5.3.2" />
<PackageVersion Include="MaterialDesignColors" Version="5.3.2" />Directory.Packages.props
<PackageReference Include="MaterialDesignColors" />Project file
paket add MaterialDesignColors --version 5.3.2
#r "nuget: MaterialDesignColors, 5.3.2"
#:package MaterialDesignColors@5.3.2
#addin nuget:?package=MaterialDesignColors&version=5.3.2Install as a Cake Addin
#tool nuget:?package=MaterialDesignColors&version=5.3.2Install as a Cake Tool
👁 NuGet-Themes-CI
👁 NuGet-Colors-CI
👁 Backers on Open Collective
👁 Sponsors on Open Collective
👁 Chat
👁 Issues
Comprehensive and easy to use Material Design theme and control library for the Windows desktop (WPF).
<details> <summary>Table of contents</summary>
</details>
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-Package MaterialDesignThemes
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 ResourceDictionary line in the snippet above to use MaterialDesign3.Defaults.xaml.
Alter your MainWindow.xaml
<Window [...]
Style="{StaticResource MaterialDesignWindow}"
[...] >
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">
To build the project, following is required:
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<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>
Before contributing code read the
material-design-in-xamlWant to say thanks? 🙏🏻
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>
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>
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 net8.0-windows7.0 is compatible. net9.0-windows net9.0-windows was computed. net10.0-windows net10.0-windows was computed. net10.0-windows7.0 net10.0-windows7.0 is compatible. |
| .NET Framework | net462 net462 is compatible. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
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 |
Showing the top 20 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.
|
|
|
RolandPheasant/TailBlazer
A modern file tail utility based on Rx.Net which show cases reactive programming and Dynamic Data (see https://github.com/RolandPheasant/DynamicData)
|
|
|
Codeusa/SteamCleaner
:us: A PC utility for restoring disk space from various game clients like Origin, Steam, Uplay, Battle.net, GoG and Nexon :us:
|
|
|
BrianLima/UWPHook
🔗 Add your Windows Store or UWP games to Steam
|
|
| libgenapps/LibgenDesktop | |
|
Tlaster/YourAV
宇宙级最轻量杀毒软件
|
|
|
Accelerider/Accelerider.Windows
A shell that runs Accelerider applications on the Windows platform.
|
|
|
dathlin/ClientServerProject
一个C-S模版,该模版由三部分的程序组成,一个服务端运行的程序,一个客户端运行的程序,还有一个公共的组件,实现了基础的账户管理功能,版本控制,软件升级,公告管理,消息群发,共享文件上传下载,批量文件传送功能。具体的操作方法见演示就行。本项目的一个目标是:提供一个基础的中小型系统的C-S框架,客户端有三种模式,无缝集成访问,winform版本,wpf版本,asp.net mvc版本,方便企业进行中小型系统的二次开发和个人学习。同时网络组件方便的支持读写三菱和西门子PLC的数据,详细见Readme
|
|
|
CXWorld/CapFrameX
Frametime capture and analysis tool
|
|
|
awaescher/RepoZ
👨💻 A zero-conf git repository hub for Windows and macOS with Windows Explorer- & CLI-enhancements
|
|
|
visualHFT/VisualHFT
VisualHFT is a WPF/C# desktop GUI that shows market microstructure in real time. You can track advanced limit‑order‑book dynamics and execution quality, then use its modular plugins to shape the analysis to your workflow.
|
|
|
microsoft/powerapps-tools
Unsupported PowerApps Tools & Apps
|
|
|
Snoothy/UCR
Universal Control Remapper [Alpha]
|
|
|
HenJigg/wpf-abp
Cross-platform mobile project and WPF client based on ABP framework Xamarin.Forms
|
|
|
HenJigg/wpf-uidesign
使用WPF创建的一些UI设计案例
|
|
|
spiegelp/MaterialDesignExtensions
Material Design Extensions is based on Material Design in XAML Toolkit to provide additional controls and features for WPF apps
|
|
|
mili-tan/AuroraDNS.GUI
纯净抗污染,简单轻量级
|
|
|
dukus/digiCamControl
DSLR camera remote control open source software
|
| Version | Downloads | Last Updated |
|---|---|---|
| 5.3.3-ci1394 | 140 | 6/15/2026 |
| 5.3.3-ci1391 | 142 | 6/12/2026 |
| 5.3.3-ci1384 | 198 | 6/5/2026 |
| 5.3.3-ci1377 | 196 | 5/29/2026 |
| 5.3.3-ci1363 | 309 | 5/15/2026 |
| 5.3.3-ci1349 | 345 | 5/1/2026 |
| 5.3.2 | 51,656 | 5/1/2026 |
| 5.3.1 | 64,240 | 3/15/2026 |
| 5.3.1-ci1344 | 124 | 4/27/2026 |
| 5.3.1-ci1330 | 136 | 4/13/2026 |
| 5.3.1-ci1329 | 118 | 4/12/2026 |
| 5.3.1-ci1327 | 136 | 4/10/2026 |
| 5.3.1-ci1325 | 182 | 4/8/2026 |
| 5.3.1-ci1320 | 130 | 4/3/2026 |
| 5.3.1-ci1312 | 121 | 3/26/2026 |
| 5.3.1-ci1301 | 130 | 3/15/2026 |
| 5.3.1-ci1299 | 225 | 3/13/2026 |
| 5.3.1-ci1296 | 214 | 3/10/2026 |
| 5.3.1-ci1292 | 274 | 3/6/2026 |
| 5.3.1-ci1291 | 160 | 3/5/2026 |