![]() |
VOOZH | about |
dotnet add package MaterialDesignThemes.MahApps --version 5.3.2
NuGet\Install-Package MaterialDesignThemes.MahApps -Version 5.3.2
<PackageReference Include="MaterialDesignThemes.MahApps" Version="5.3.2" />
<PackageVersion Include="MaterialDesignThemes.MahApps" Version="5.3.2" />Directory.Packages.props
<PackageReference Include="MaterialDesignThemes.MahApps" />Project file
paket add MaterialDesignThemes.MahApps --version 5.3.2
#r "nuget: MaterialDesignThemes.MahApps, 5.3.2"
#:package MaterialDesignThemes.MahApps@5.3.2
#addin nuget:?package=MaterialDesignThemes.MahApps&version=5.3.2Install as a Cake Addin
#tool nuget:?package=MaterialDesignThemes.MahApps&version=5.3.2Install as a Cake Tool
๐ NuGet-Themes
๐ NuGet-Colors
๐ 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 MaterialDesignThemes.MahApps:
| Package | Downloads |
|---|---|
|
SNSHelper
Support functions for SNS, LightMapper, Live Electrochem, BioLED controller etc |
|
|
SnowyRiver.WPF.MaterialDesignInPrism
Package Description |
|
|
MicroPrint.Controls
MicroPintๆงไปถๅบ๏ผ |
|
|
OnSite.ClickerAce.Plugin
ClickerAce Plugin Interface |
|
|
SnowyRiver.Accounts.Modules.Manager
Package Description |
Showing the top 19 popular GitHub repositories that depend on MaterialDesignThemes.MahApps:
| Repository | Stars |
|---|---|
|
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.
|
|
|
dukus/digiCamControl
DSLR camera remote control open source software
|
|
|
reactiveui/Camelotia
Cross-platform sample .NET GUI for cloud file management.
|
|
|
Keboo/MaterialDesignInXaml.Examples
A collection of small samples using MaterialDesignInXaml.
|
|
|
5andr0/PogoLocationFeeder
Json feed of pokemon location data
|
|
|
MeshackMusundi/SignalChat
WPF-MVVM instant messaging application using SignalR
|
|
|
yaobus/SIPAM
IPๅฐๅๅ้
็ฎก็็ณป็ป
|
|
|
Yoooi0/MultiFunPlayer
flexible application to synchronize various devices with media playback
|
|
| imchillin/CMTool | |
|
Zeeex/XTR-Toolbox
๐ Versatile tool to optimize Windows
|
|
|
fusrodahs/OpenCVVision
ไฝฟ็จOpenCvSharpๅๅปบๅธธ็จๅ่ฝ้ๅ
|
|
|
d-haxton/HaxtonBot
Still the fastest.
|
|
|
Plac3hold3r/MvxScaffolding
๐๏ธ A customizable template used to scaffold a cross-platform MvvmCross application.
|
|
|
ThinkingTransistor/Sigma
Rocket powered machine learning. Create, compare, adapt, improve - artificial intelligence at the speed of thought.
|
|
| yaobus/IPAM-NOTE | |
|
Fiasco1216/WinDroid_Toolkit
A toolkit for Android devices.
|
|
|
fbarresi/TwinCatAdsTool
TwinCAT Tool for explore backup and compare ADS Variables
|
| Version | Downloads | Last Updated |
|---|---|---|
| 5.3.3-ci1394 | 90 | 6/15/2026 |
| 5.3.3-ci1391 | 91 | 6/12/2026 |
| 5.3.3-ci1384 | 110 | 6/5/2026 |
| 5.3.3-ci1377 | 104 | 5/29/2026 |
| 5.3.3-ci1363 | 106 | 5/15/2026 |
| 5.3.3-ci1349 | 125 | 5/1/2026 |
| 5.3.2 | 3,460 | 5/1/2026 |
| 5.3.1 | 4,603 | 3/15/2026 |
| 5.3.1-ci1344 | 109 | 4/27/2026 |
| 5.3.1-ci1330 | 118 | 4/13/2026 |
| 5.3.1-ci1329 | 118 | 4/12/2026 |
| 5.3.1-ci1327 | 116 | 4/10/2026 |
| 5.3.1-ci1325 | 103 | 4/8/2026 |
| 5.3.1-ci1320 | 112 | 4/3/2026 |
| 5.3.1-ci1312 | 110 | 3/26/2026 |
| 5.3.1-ci1301 | 112 | 3/15/2026 |
| 5.3.1-ci1299 | 126 | 3/13/2026 |
| 5.3.1-ci1296 | 136 | 3/10/2026 |
| 5.3.1-ci1292 | 116 | 3/6/2026 |
| 5.3.1-ci1291 | 110 | 3/5/2026 |