Skip to content

This app demonstrates the controls available in WinUI and the Fluent Design System.

License

Notifications You must be signed in to change notification settings

Zakariathr22/WinUI-Gallery

 
 

Repository files navigation

WinUI 3 Gallery

Build Status PRs Welcome GitHub license

WinUI Screenshot

Accompanying Sample App for WinAppSDK

This app demonstrates all of the WinUI 3 controls and styles available to make a modern Windows app with the Windows App SDK. It is the interactive companion to the Fluent Design Guidelines and shows the usage of the WinUI APIs.

⭐ Features:

  • WinUI Controls Samples: Each control page shows the markup and codebehind used to create each example.
  • Use the Microsoft.UI.Xaml (WinUI) Library: The app includes the latest WinUI NuGet package and shows how to use the WinUI controls like NavigationView, SwipeControl, and more.
  • Basic Layout: This sample will show all of the possible layout options for your app and allow you to interact with the panels to show how to achieve any layout you are looking for.
  • Adaptive UI: In addition to showing how each control responds to different form factors, the app itself is responsive and shows various methods for achieving adaptive UI.
  • Design & Accessibility Guidance: Design and accessibility pages help make the gallery a useful developer companion app.
  • Version Adaptive Code: This sample shows how to write version adaptive code so that the app can run on previous versions of Windows while also using the latest capabilities on the most recent verison of Windows.

👏 Contribute to WinUI Gallery

Any samples or docs improvements you'd like to see? We're always looking for a helping hand. Feel free to file an issue to start the discussion, or even better, create a PR with the change you'd like to see!

Check out these help wanted issues if you don't know where to start.

You can also learn more about current happenings with WinUI Gallery in the project board.

🚀 Getting Started

Quick start guide to building WinUI 3 Gallery locally:

1. Set up the Environment

Note: The WinUI 3 Gallery requires Visual Studio 2022 or later to build and Windows 10 or later to execute. If you're building an app with the Windows App SDK for the first time, follow the installation instructions here.

Required Visual Studio components:

  • .NET Desktop Development.
  • Windows App SDK C# Templates
  • Windows 10 SDK (10.0.19041.0)

2. Clone the Repository

git clone https://github.com/microsoft/WinUI-Gallery.git

3. Open .sln with Visual Studio and Build!

.\WinUIGallery\WinUIGallery.DesktopWap.sln

Make sure to select WinUIGallery.DesktopWap.Package for startup project in Visual Studio.

➡️ Further information

To obtain information about Windows 11 development, go to the Windows Dev Center
To contact the authors, please reach out to ControlsGallery@microsoft.com

Related topics

Get started with building WinUI apps
WinUI
Template Studio for WinUI

Related samples

RSS reader sample
Lunch Scheduler app sample
Customers Orders Database sample

🏆 Contributors

Thanks to our amazing contributors!

WinUI 3 Gallery Contributors

Made with contrib.rocks.

About

This app demonstrates the controls available in WinUI and the Fluent Design System.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 99.8%
  • Other 0.2%