Muzzle
A cozy, minimalist, pastel design system for WPF, with jelly physics on every interactive control. Muzzle.Theme restyles every standard control and adds 40+ custom ones: toasts, dialogs, drawers, a command palette, pickers, a property grid, a carousel and more. Buttons squish when pressed and spring back with an elastic overshoot, popups bounce open, and toasts glide in.
Jelly Physics
Every interactive control squishes when pressed and springs back with an elastic overshoot. These are a web imitation of the feel, one for each built-in accent: hover, then press and hold.
#F497A9
#A896E6
#7CCBB9
#F5A67E
Highlights
Soft, rounded and pastel, without giving up the things a desktop app needs.
Light, Dark and System
Two palettes with identical keys, plus a mode that follows Windows. Theme and accent switch at runtime, with an optional crossfade.
Any accent you like
Four built-in accents, or hand it one color and Muzzle derives the full ramp from it.
Tokens all the way down
Everything goes through DynamicResource tokens, so a switch restyles every open window, popup and overlay.
Accessible by default
Full keyboard navigation, a visible focus ring, screen-reader names, and a calm mode that honors the Windows animation setting.
Desktop-ready
A custom window with Windows 11 snap layouts, Mica and Acrylic backdrops, window-placement saving and a XAML tray icon.
No dependencies
Targets net10.0-windows and pulls in no third-party packages.
Control Catalogue
Every standard WPF control is restyled automatically, and the mz: controls are new.
The full reference lists every property, event and key.
Buttons and toggles
Button variants, ToggleSwitch, SplitButton, DropDownButton, ThemeToggleButton, AccentSwatch
Text and inputs
TextBox, PasswordBox, ComboBox, NumericUpDown, TagInput, SearchBar, RangeSlider, PasswordStrengthMeter
Pickers
DatePicker, Calendar, TimePicker, ColorPicker, Rating
Overlays and notifications
Growl toasts, Dialog, MessageBox, Drawer, CommandPalette, Popover, menus and tooltips
Feedback and status
ProgressBar, LoadingSpinner, Skeleton, Badge, InfoBar, EmptyState
Navigation and layout
NavigationView, BreadcrumbBar, Pagination, StepBar, TabControl, Expander, Card
Data and media
DataGrid, ListBox, TreeView, PropertyGrid, Avatar, Carousel, ImageViewer
Text and code
Typography styles, CodeBlock, CopyableText, Keycap, ShortcutBadge, MuzzleIcon with 156 icons
Windows and system
MuzzleWindow, SystemTrayIcon, WindowStateSaver, BackdropHelper
Usage
Install the package, merge the theme, and every standard control is styled. Add
xmlns:mz="http://schemas.muzzle.dev/wpf" for the custom controls and attached properties.
dotnet add package Muzzle.Theme
<Application.Resources>
<mz:MuzzleThemeResourceDictionary Theme="System" Accent="Lavender" />
</Application.Resources>
<StackPanel Margin="24">
<TextBox mz:MuzzleAssist.Placeholder="Your cat's name" />
<mz:ToggleSwitch Content="Extra treats" />
<Button Style="{StaticResource Muzzle.Button.Primary}" Content="Adopt" />
</StackPanel>
MuzzleThemeManager.ApplyTheme(MuzzleTheme.Dark);
MuzzleThemeManager.ApplyAccent(MuzzleAccent.Mint, animate: true);
MuzzleThemeManager.ApplyCustomAccent(Color.FromRgb(0x5F, 0xA8, 0xD3));
Growl.Success("Saved your settings", title: "Done");
Growl.Ask("Delete this cat photo?", confirmed => { if (confirmed) { Delete(); } });
<Border mz:JellyBehavior.EnableHoverBounce="True"
mz:JellyBehavior.EnablePressSquish="True"
mz:JellyBehavior.EntranceAnimation="PopIn" />
Licensed under MIT. The embedded Atkinson Hyperlegible Next font is under the SIL Open Font License 1.1.