MaterialDesignThemes.MahApps 5.3.0

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package MaterialDesignThemes.MahApps --version 5.3.0
                    
NuGet\Install-Package MaterialDesignThemes.MahApps -Version 5.3.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="MaterialDesignThemes.MahApps" Version="5.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MaterialDesignThemes.MahApps" Version="5.3.0" />
                    
Directory.Packages.props
<PackageReference Include="MaterialDesignThemes.MahApps" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MaterialDesignThemes.MahApps --version 5.3.0
                    
#r "nuget: MaterialDesignThemes.MahApps, 5.3.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.
#:package MaterialDesignThemes.MahApps@5.3.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MaterialDesignThemes.MahApps&version=5.3.0
                    
Install as a Cake Addin
#tool nuget:?package=MaterialDesignThemes.MahApps&version=5.3.0
                    
Install as a Cake Tool

Material Design In XAML Toolkit Logo of Material Design in XAML

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).

  • 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

See screenshots

<details> <summary>Table of contents</summary>

</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 ResourceDictionary line in the snippet above to use MaterialDesign3.Defaults.xaml.

  • Alter your MainWindow.xaml

<Window [...]
  Style="{StaticResource MaterialDesignWindow}"
  [...] >

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 library
  • MaterialDesign3Demo - Reference WPF app with Material Design 3 styling, under development
  • MahAppsDragablzDemo - Demo app for combining with Dragablz and MahApps

Screenshots

The screenshots below are taken from the Material Design 2 demo app. It is possible that these are out of date. Run the demo app from latest source to see the latest version.

<details> <summary>Show images</summary>

Screenshot of WPF Material Design 2 demo application home page Buttons Toggles Fields ComboBoxes Palette Color Tools Pickers Icons Cards Menus and Toolbars Progress Bars Dialogs Lists Tree View Sliders Chips Typography Group Box Snackbars Elevation </details>

More examples

FAQ

Contributing

Before contributing code read the Contribution Guidelines

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

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 Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net10.0-windows was computed. 
.NET Framework net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (21)

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

GitHub repositories (21)

Showing the top 20 popular GitHub repositories that depend on MaterialDesignThemes.MahApps:

Repository Stars
ClassIsland/ClassIsland
一款功能强、可定制、跨平台,适用于班级多媒体屏幕的课表信息显示工具,可以一目了然地显示各种信息。
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.
chayxana/Restaurant-App
Restaurant App 🍔 is a sample open-source e-Commerce 🛒 application for ordering foods, powered by polyglot microservices architecture and cross-platform development including mobile and web
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
lolo77777/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.
Version Downloads Last Updated
5.3.1-ci1271 1 2/13/2026
5.3.1-ci1264 98 2/6/2026
5.3.1-ci1261 99 2/3/2026
5.3.1-ci1257 86 1/30/2026
5.3.1-ci1236 157 1/9/2026
5.3.1-ci1231 111 1/4/2026
5.3.1-ci1190 561 11/24/2025
5.3.1-ci1180 288 11/14/2025
5.3.1-ci1176 263 11/10/2025
5.3.1-ci1175 214 11/9/2025
5.3.1-ci1167 244 11/1/2025
5.3.1-ci1166 181 10/31/2025
5.3.1-ci1162 258 10/27/2025
5.3.1-ci1159 178 10/24/2025
5.3.1-ci1152 197 10/17/2025
5.3.1-ci1146 142 10/11/2025
5.3.1-ci1145 160 10/10/2025
5.3.1-ci1141 221 10/6/2025
5.3.0 11,808 10/6/2025
5.3.0-ci1140 190 10/5/2025
Loading failed