# canton7/Stylet

A very lightweight but powerful ViewModel-First MVVM framework for WPF for .NET Framework and .NET Core, inspired by Caliburn.Micro.

Repository: https://github.com/canton7/Stylet
Canonical: https://ross.abutalabs.com/products/stylet
Language: C#
License: MIT
License Family: permissive
Topics: stylet, mvvm, mvvm-framework, wpf
Last push: 2024-06-24T08:11:28+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4554, "days_push": 800, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1059, forks 155 (observed 2026-08-28T04:03:25.620226+00:00)

## What it is
Stylet is a lightweight ViewModel-first MVVM framework for WPF applications on .NET Framework and .NET Core/.NET 5+. Inspired by Caliburn.Micro, it emphasizes low magic, testability, and flexibility with sensible defaults.

## Use cases
- build a WPF desktop app with MVVM architecture
- structure a WPF app so ViewModels are easy to unit test
- replace Caliburn.Micro with a simpler, less magical MVVM framework
- scaffold a new .NET WPF project with dotnet new templates
- manage window/screen navigation and conductor lifecycles in WPF
- wire dependency injection into a WPF application

## When to choose
- you are building a WPF app on .NET Framework 4.5.2+ or .NET Core 3.0+/.NET 5+
- you want a small, well-documented, comprehensively tested MVVM framework
- you like Caliburn.Micro concepts but want less magic and simpler code
- you need a framework that is easy to override and customize

## When to avoid
- you are building UWP, WinUI, MAUI, or Avalonia apps instead of WPF
- you need a full application framework beyond MVVM (e.g., Prism-style modularity)
- your project targets platforms other than Windows desktop

## Facets
- artifact type: framework
- maturity: stable
- function: ui-components, state-management, dependency-audit
- domain: desktop-applications, cross-platform, developer-tools
- platform: windows, dotnet, cross-platform
- tags: mvvm, wpf, viewmodel-first, caliburn-micro-inspired, csharp, xaml

## Member repositories
- canton7/Stylet (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:25.620226+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:57:12.942891+00:00, confidence not recorded.
  - readme: https://github.com/canton7/Stylet (fetched 2026-08-28T04:03:25.620226+00:00, sha 33dc22bce8a2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
