# microsoft/WindowsCompositionSamples

The Windows Composition Samples have moved here: https://github.com/microsoft/WindowsAppSDK-Samples/tree/main/Samples/SceneGraph

Repository: https://github.com/microsoft/WindowsCompositionSamples
Canonical: https://ross.abutalabs.com/products/windowscompositionsamples
Homepage: https://github.com/microsoft/WindowsAppSDK-Samples/tree/main/Samples/SceneGraph
Language: C#
License: MIT
License Family: permissive
Topics: windowsui, uwp, windows-10, csharp, uwp-apps, composition, fluent, animations, effects
Archived: true
Last push: 2024-06-10T21:17:09+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4138, "days_push": 814, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1127, forks 288 (observed 2026-08-28T04:03:41.470944+00:00)

## What it is
A collection of Microsoft's Windows Input and Composition samples demonstrating Fluent Design UI using Microsoft.UI.Composition and Microsoft.UI.Input APIs, including demos, a sample gallery app, and reference utilities. The repo has moved into the WindowsAppSDK-Samples repository and is now read-only.

## Use cases
- learn Windows Composition APIs for building animated UI
- find WinUI 3 code samples for Fluent Design effects
- see examples of input and interaction APIs in Windows App SDK
- build beautiful engaging desktop app experiences on Windows 10+
- study reference implementations of composition-based UI patterns

## When to choose
- you are learning WinUI 3 or the Windows App SDK composition and input APIs
- you want working C# examples of Fluent Design animations and effects
- you need a sample gallery app to explore composition concepts on Windows 10 1809+

## When to avoid
- you need a production-ready UI library rather than sample code
- you target platforms other than Windows
- you expect active development here - the samples moved to WindowsAppSDK-Samples/SceneGraph
- you need UWP-era samples without checking the UniversalWindowsPlatform release branch

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: animation, ui-components, graphics
- domain: windows, desktop-applications, web-design, developer-tools
- platform: windows, dotnet
- tags: uwp, windows-app-sdk, winui3, fluent-design, composition-apis, sample-gallery, microsoft

## Member repositories
- microsoft/WindowsCompositionSamples (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:41.470944+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:38:51.189101+00:00, confidence not recorded.
  - readme: https://github.com/microsoft/WindowsCompositionSamples (fetched 2026-08-28T04:03:41.470944+00:00, sha a71b45fbeb25)
  - homepage: https://github.com/microsoft/WindowsAppSDK-Samples/tree/main/Samples/SceneGraph (fetched 2026-08-29T12:43:19.564727+00:00, sha 4bb5c9a1469a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
