Skip to content
CAI
Software that uses CAICheck a score

fabulous-dev/Fabulous

63.3

Adequate · 14 November 2026

55.9k

lines of production code

F#

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Add Avalonia M-V-U sample applications and project templates

This change introduces a collection of new sample applications and a project template for the Avalonia platform, demonstrating the Fabulous M-V-U (Model-View-Update) architecture. The samples include a Counter App, a Drawing App with color and size pickers, a Game of Life simulation, a GitHub Client for fetching user data, a Multi-Window demo, and a Basic Navigation example. Additionally, a complete Tetris game implementation is provided, featuring core game logic and UI controls. A new blank project template is also added to help users scaffold new Avalonia applications.

(repo-wide) · high confidence

Add Avalonia navigation samples using Fabulous MVU

New sample applications have been added to demonstrate navigation patterns in Fabulous for Avalonia. The \ComponentNavigation\ sample shows how to manage navigation state using isolated MVU components with a shared \NavigationController\, while the \NavigationPath\ sample illustrates a centralized navigation stack approach. Both samples include three navigable pages (PageA, PageB, PageC) with argument passing and back-navigation support.

ComponentNavigation, NavigationPath · high confidence

Add Calculator and HelloComponent MAUI samples

New F\#-based MAUI sample applications are now available in the samples directory. The Calculator sample demonstrates a stateful MVVM-style app using Fabulous.Maui, featuring a grid-based UI with arithmetic operations and platform-specific entry points for Android, iOS, MacCatalyst, Windows (WinUI), and Tizen. The HelloComponent sample provides a minimal example of rendering a custom Fabulous component within a MAUI application, also including the necessary platform boilerplate for all supported targets.

samples/maui · high confidence

Add F\# MAUI Windows startup support package

Introduces the FSharp.Maui.WinUICompat package to resolve Windows startup issues in F\# MAUI applications. The package provides a precompiled WinUI application base and a custom Main entry point, allowing F\# projects to correctly initialize the Windows App SDK runtime and XAML metadata provider without relying on C\#-specific build generation.

src/maui/FSharp.Maui.WinUICompat · high confidence

Add Fabulous bindings for .NET MAUI Maps and MediaElement controls

This change introduces new Fabulous widget libraries for .NET MAUI, specifically \Fabulous.MauiControls.Maps\ and \Fabulous.MauiControls.MediaElement\. The Maps library provides a \Map\ widget with support for pins, circles, polygons, and polylines, along with modifiers for zoom, traffic, and map type, and an \onReceive\ mechanism for event handling. The MediaElement library wraps the Community Toolkit MediaElement, exposing properties for playback control (autoplay, loop, mute, volume, speed) and events (opened, ended, failed, position changed), including a custom controller for programmatic play/pause/seek/stop operations.

(repo-wide) · high confidence

Automated screenshot capture for Avalonia and MAUI Android samples

New CI scripts have been added to automatically build and capture screenshots of Avalonia desktop samples and MAUI Android samples. The Avalonia script builds specified projects and uses xdotool/import to capture stable windows for each page, while the MAUI Android script builds signed APKs, installs them via ADB, and captures screenshots of gallery pages using screencap. This ensures visual regression testing for these sample applications in the CI pipeline.

eng/ci · high confidence

Introduce new Components API for localized state and performance

The library now includes a new Components API that allows UI sections to manage their own local state and trigger localized re-evaluations, rather than relying solely on a global root state. This enables faster updates by limiting diffing to affected components and supports various state management patterns (MVU, MVVM, etc.) within the Fabulous DSL. The change introduces new entry points via \AppHostBuilderExtensions.UseFabulousApp\, helper modules for async main-thread execution and component binding, and documentation detailing the architecture.

src/maui/Fabulous.MauiControls · high confidence

Introduce onReceive component modifier for event subscriptions

The Fabulous.Core library now includes an \onReceive\ component modifier, allowing developers to attach event handlers to widgets by subscribing to an \IObservable\, \IEvent\, or \Event\ source. This feature is implemented via a new \OnReceiveValue\ attribute definition and helper functions in \Components/Modifiers.fs\, which manage subscription lifecycles and ensure handlers are correctly applied and disposed during view updates.

Fabulous.Core · high confidence

Introduction of Component-based architecture with local state and environment objects

This release introduces a new Component system within Fabulous.Core, enabling applications to use local state management and composition via computation expressions (e.g., \view { let! count = state 0 ... }\). Key additions include \ComponentContext\ for managing local state values, \StateValue\ and \BindingValue\ structs for efficient, allocation-free state binding, and \EnvironmentObject\ support for sharing context across components. The update also adds \DispatchThrottle\ for controlling message dispatch rates, new \Cmd\ and \Sub\ modules for handling commands and subscriptions with improved error handling, and performance optimizations such as using mutable \HashSet\ for subscription diffing to reduce allocations.

src/neutral/Fabulous.Core · high confidence

New ColorPicker and DataGrid widget bindings for Fabulous.Avalonia

Developers can now use the ColorPicker and DataGrid controls in Fabulous.Avalonia applications. This change introduces the Fabulous.Avalonia.ColorPicker package, providing widgets for ColorView, ColorPicker, ColorSpectrum, ColorSlider, and ColorPreviewer, along with modifiers for properties like HSV color, alpha visibility, and spectrum shape. It also adds the Fabulous.Avalonia.DataGrid package, exposing the DataGrid widget with comprehensive event bindings for cell editing, selection changes, sorting, and scrolling in both Component and Mvu programming models.

src/avalonia · high confidence

New Fabulous.Avalonia sample applications added

Added new sample applications for Fabulous.Avalonia, including CounterApp, DrawingApp, MultiWindow, and BasicNavigation. These samples demonstrate core Fabulous patterns such as state management, UI composition, multi-window support, and basic navigation on desktop and mobile platforms (Android, iOS, and desktop).

samples/avalonia · high confidence

New Fabulous.MauiControls Views for MAUI 10

The Views module has been rewritten for MAUI 10, introducing new widget builders and event bindings for Application, Brushes (Solid, Linear/Radial Gradient), Cells (Entry, Image, Switch, Text, View), and Collections (CarouselView, CollectionView, ListView). This update adds support for modern MAUI features such as multi-window management, application lifecycle events, and grouped data binding, while replacing deprecated APIs with current MAUI equivalents.

src/maui/Fabulous.MauiControls/Views · high confidence

New Fabulous.MauiControls project template for .NET MAUI

Developers can now scaffold a new cross-platform .NET MAUI application using the Fabulous declarative UI framework via the \dotnet new fabulous-mauicontrols\ command. This new template, packaged as \Fabulous.MauiControls.Templates\, provides a complete F\# project structure including platform-specific entry points for Android, iOS, MacCatalyst, Windows (WinUI), and Tizen, along with a default blank view demonstrating Fabulous' state management and semantic accessibility features.

templates/maui · high confidence

New MAUI navigation, theming, and virtualized collection support

Fabulous.MauiControls now provides core infrastructure for modern MAUI applications. A new route-based navigation stack allows managing page history with push, pop, and replace operations. Theme-aware programming models and helpers enable applications to react to system light/dark mode changes. Additionally, virtualized collection templates are introduced to efficiently render lists and grids by reusing view cells and handling binding context changes.

Fabulous.MauiControls · high confidence

Removals

Removal of legacy Adapter and Program entry points

The legacy \Adapter\ class and the \Program\ module (containing \run\ and \run2\ methods) have been removed from the \src/Fabulous.XamarinForms\ directory. This deletion eliminates the previous mechanism for attaching the Fabulous runner to Xamarin.Forms elements, indicating a shift in how applications are initialized and how the framework integrates with the underlying UI layer.

src/Fabulous.XamarinForms · high confidence

Architecture

Repository consolidated into a single monorepo with .NET 10 target

The Fabulous core, Avalonia and .NET MAUI backends, extensions, templates, samples, tests, documentation, and engineering tooling are now maintained in one repository. The core project and assembly are renamed to Fabulous.Core (the NuGet package ID and F\# namespaces remain Fabulous), and all packages use the unified 10.0.x release line. The solution targets .NET 10 (SDK 10.0.100), and the Avalonia backend is upgraded to Avalonia 12.1.2. CI and release workflows are centralized, and the repository includes new governance files (AGENTS.md, CONTRIBUTING.md, CODE\_OF\_CONDUCT.md) and a structured layout (src/neutral, src/maui, src/avalonia, samples, templates, docs, website, eng).

(repo-wide) · high confidence

Behavioural changes

The Gallery sample application has been completely rewritten in F\# using the Fabulous framework, replacing the previous implementation. This new version features a hamburger menu navigation structure and includes dedicated pages for a wide range of Avalonia controls, such as Acrylic effects, Adorner layers, AsyncImage loading, AutoCompleteBox, ButtonSpinner, Buttons, Calendar, Canvas drawing, and Carousel. The app now supports dynamic theme switching, window transparency levels, and flow direction changes, and it conditionally includes premium controls like TreeDataGrid when the PREMIUM\_CONTROLS flag is enabled.

Gallery · high confidence

Handle missing primary screen in TicTacToe

The TicTacToe sample now gracefully handles scenarios where the primary screen is not available. Instead of crashing, it falls back to using the first available screen from the system's screen list to calculate the board size, ensuring the application remains stable on configurations where the primary display might be disconnected or unavailable.

TicTacToe · high confidence

Introduce Fabulous theme with new design system and visual identity

The website now uses the 'fabulous-theme' (renamed from dev-theme), establishing a new visual identity with updated SVG logos and a comprehensive design system. This includes a new color palette (dark primary background with blue accents), typography using Poppins and Jost fonts, and specific styling for hero sections, spotlights, and responsive layouts.

website/assets, website/themes/fabulous-theme/assets · high confidence

Introduce fabulous-theme layout templates

The website now uses a new 'fabulous-theme' for its layout structure, replacing the previous 'fabulous.dev-theme'. This change introduces standard Hugo layout files including a base template with header/footer partials, a custom 404 error page featuring a robot image, and partials for the head (including CSS/JS assets and meta tags) and header (with navigation and social links).

website/themes/fabulous-theme/layouts · high confidence

Monorepo migration infrastructure and validation tooling

The repository now includes a dedicated engineering directory (\eng/monorepo\) that establishes the foundation for consolidating multiple Fabulous source repositories into a single monorepo. This change introduces a set of Python and Bash scripts to manage the migration process: \import-repository.sh\ handles importing external repositories with full history using \git subtree\, while \repositories.json\ tracks the migration waves and status of each source (such as Avalonia, Maui, and documentation sites). To ensure integrity, the suite includes validation tools (\validate-inventory.py\, \validate-packages.py\, \validate-doc-links.py\) that check migration structure, package metadata, and documentation links, alongside automation scripts (\changelog.py\, \generate-api-reference.py\, \prepare-templates.py\) to support release engineering and API documentation generation within the new unified structure.

eng/monorepo · high confidence

Redesigned landing page with responsive hero and framework selection

The website's home page has been completely rewritten to feature a responsive hero section with adaptive image sizing, new content sections highlighting declarative UI, MVU architecture, and functional programming, and a dedicated area for users to choose between .NET MAUI and Avalonia frameworks.

website/layouts · high confidence

Removal of legacy MvuComponent architecture and core runtime modules

The legacy MvuComponent-based architecture has been removed from the Fabulous core. This change deletes the \Program.fs\, \Runner.fs\, \State.fs\, and \ViewElement.fs\ files, eliminating the previous \IProgram\, \IRunner\, and \IDispatcher\ interfaces, the global state store, and the \ViewElement\ record structure. Users relying on the older component model will need to migrate to the new component-based API introduced in this update.

src/Fabulous · high confidence

Update template target frameworks to .NET 10

The Avalonia templates now target .NET 10. Users creating new projects will benefit from the latest runtime and library support, though the single-project template requires installing the corresponding Android/iOS workloads if targeting mobile platforms.

templates/avalonia · high confidence

Test coverage

Added API sketch tests for Fabulous UI components and event handling; Added unit tests for Fabulous core diffing and dispatch logic; Added unit tests for MAUI widget reconciliation and navigation stack logic.

Dependencies

Centralized dependency management and .NET 10 sample updates

The repository now uses a centralized package versioning strategy via Directory.Packages.props, defining versions for key libraries including Avalonia (12.x), Microsoft.Maui.Controls (10.0.100), FSharp.Core (10.0.100), and Microsoft.Extensions packages (10.0.11). Corresponding Avalonia sample projects have been updated to target .NET 10.0 and .NET 10.0-android, ensuring alignment with the new framework versions.

(dependencies) · high confidence

Updated Fabulous Avalonia templates to F\# 10 and Avalonia 12.1

The Fabulous Avalonia project templates (Blank, Desktop, and MultiProject) now target F\# 10.0.100 and Avalonia 12.1.2. This update ensures new projects generated from these templates use the latest stable versions of the F\# compiler and the Avalonia UI framework, providing access to recent language features and platform improvements for Android, iOS, Desktop, and Browser targets.

templates/avalonia/content · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 56 → 63 (+7.5)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 72 → 81 (+8.1)
  • Architecture 93 → 93 (+0.0)
  • Maturity 76 → 76 (+0.1)
  • Readiness 56 → 63 (+6.4)
  • Security 45 → 52 (+7.5)
  • Performance 70 → 100 (+30.3)

Resolved (25)

  • Duplicated block (16–24 lines × 2) (templates/avalonia/content/blank/App.fs)
  • Duplicated block (20 lines × 2) (samples/avalonia/Component/Tetris/Core.fs)
  • Duplicated block (20 lines × 2) (samples/avalonia/Component/Tetris/Core.fs)
  • Duplicated block (20 lines × 2) (samples/avalonia/Mvu/Navigation/ComponentNavigation/PageA.fs)
  • Duplicated block (20 lines × 2) (templates/avalonia/content/blank/App.fs)
  • Duplicated block (24 lines × 2) (samples/avalonia/Component/Tetris/Core.fs)
  • Duplicated block (29 lines × 2) (src/avalonia/Fabulous.Avalonia/Component.fs)
  • Duplicated block (43 lines × 2) (samples/avalonia/Component/Tetris/Core.fs)
  • Duplicated block (5 lines × 2) (src/avalonia/Fabulous.Avalonia/Views/Styling/Animation.fs)
  • Duplicated block (77–80 lines × 2) (samples/maui/Components/TicTacComponent/App.fs)
  • Duplicated block (8 lines × 2) (samples/maui/Components/TicTacComponent/App.fs)
  • Duplicated block (9 lines × 3) (samples/avalonia/Component/Navigation/ComponentNavigation/Navigation.fs)
  • Duplicated block (9 lines × 3) (samples/avalonia/Component/Navigation/NavigationPath/NavigationTypes.fs)
  • Hotspot: samples/avalonia/Gallery/App.fs (samples/avalonia/Gallery/App.fs)
  • Members sharing a duplicated core (6 members, 50+ identical tokens) (samples/avalonia/Component/Navigation/ComponentNavigation/Navigation.fs)
  • Near-duplicate member pair (101 shared lines) (samples/avalonia/Component/TicTacToe/App.fs)
  • Near-duplicate member pair (248 shared lines) (samples/maui/Components/TicTacComponent/App.fs)
  • Near-duplicate member pair (309 shared lines) (samples/avalonia/Component/Tetris/Core.fs)
  • No ADRs found
  • Off-boarding risk: anonymized user #1
  • …and 5 more

New (131)

  • Edited copies of one member (3 members, 16+ corresponding lines) (samples/maui/Components/MultipleMvus/MauiProgram.fs)
  • Edited copies of one member (3 members, 17+ corresponding lines) (samples/maui/Maps/HelloMap/MauiProgram.fs)
  • Edited copies of one member (3 members, 28+ corresponding lines) (src/avalonia/Fabulous.Avalonia/Views/Controls/Primitives/Popup.Components.fs)
  • Edited copies of one member (3 members, 30+ corresponding lines) (samples/avalonia/Component/Navigation/BasicNavigation/PageA.fs)
  • Edited copies of one member (3 members, 47+ corresponding lines) (samples/avalonia/Component/Navigation/NavigationPath/PageA.fs)
  • Edited copies of one member (3 members, 93+ corresponding lines) (src/avalonia/Fabulous.Avalonia.ColorPicker/ColorSlider.fs)
  • Edited copies of one member (4 members, 19+ corresponding lines) (src/avalonia/Fabulous.Avalonia.ColorPicker/ColorSlider.Components.fs)
  • Edited copies of one member (4 members, 28+ corresponding lines) (src/avalonia/Fabulous.Avalonia/Views/Controls/Separator.fs)
  • Edited copies of one member (4 members, 29+ corresponding lines) (src/avalonia/Fabulous.Avalonia/Views/Panels/VirtualizingStackPanel.Components.fs)
  • Edited copies of one member (4 members, 41+ corresponding lines) (src/maui/Fabulous.MauiControls/Views/Shapes/Geometries/EllipseGeometry.fs)
  • Edited copies of one member (4 members, 45+ corresponding lines) (src/avalonia/Fabulous.Avalonia/Views/Media/Brushes/GradientStop.fs)
  • Edited copies of one member (4 members, 65+ corresponding lines) (src/avalonia/Fabulous.Avalonia/Views/Controls/Buttons/RadioButton.Components.fs)
  • Edited copies of one member (5 members, 55+ corresponding lines) (src/maui/Fabulous.MauiControls/Views/Shapes/Polygon.fs)
  • Edited copies of one member (7 members, 24+ corresponding lines) (src/avalonia/Fabulous.Avalonia/Views/Controls/Buttons/Button.Components.fs)
  • Edited copies of one member (8 members, 18+ corresponding lines) (src/avalonia/Fabulous.Avalonia/Views/Controls/ExperimentalAcrylicMaterial.Components.fs)
  • Edited copy of a member (10 corresponding lines) (samples/maui/Calculator/Platforms/MacCatalyst/AppDelegate.fs)
  • Edited copy of a member (10 corresponding lines) (samples/maui/Components/HelloComponent/Platforms/Android/MainApplication.fs)
  • Edited copy of a member (10 corresponding lines) (samples/maui/Components/HelloComponent/Platforms/MacCatalyst/AppDelegate.fs)
  • Edited copy of a member (10 corresponding lines) (samples/maui/Components/MultipleMvus/Platforms/MacCatalyst/AppDelegate.fs)
  • Edited copy of a member (10 corresponding lines) (samples/maui/Components/MvuCounter/Platforms/MacCatalyst/AppDelegate.fs)
  • …and 111 more

Changes since last survey

  • 3 commits — 2 feature/other, 1 fixes

By area

  • (repo) — 1 commit
  • .github/workflows — 1 commit
  • src/neutral — 1 commit

Notable commits

  • fix: Merge pull request #1423 from fabulous-dev/fix/runner-drain-queue-on-start
  • change: Drain message queue at end of Runner.start (#1422)
  • change: update repo assist

Architecture

  • Containers 0 added · 0 removed · contexts 0 added · 0 removed · edges 16 added · 16 removed

Added dependency edges (16)

  • BasicNavigation → Fabulous.Core (coupling)
  • ComponentNavigation → Fabulous.Core (coupling)
  • CounterApp → Fabulous.Core (coupling)
  • DrawingApp → Fabulous.Avalonia (coupling)
  • DrawingApp → Fabulous.Core (coupling)
  • Fabulous.Avalonia → Fabulous.Core (coupling)
  • Fabulous.MauiControls → Fabulous.Core (coupling)
  • Gallery → Fabulous.Avalonia (coupling)
  • Gallery → Fabulous.Core (coupling)
  • GameOfLife → Fabulous.Core (coupling)
  • GitHubClient → Fabulous.Core (coupling)
  • MultiWindow → Fabulous.Core (coupling)
  • NavigationPath → Fabulous.Core (coupling)
  • TestableApp → Fabulous.Core (coupling)
  • Tetris → Fabulous.Core (coupling)
  • TicTacToe → Fabulous.Core (coupling)

Removed dependency edges (was a dependency, now gone) (16)

  • BasicNavigation → Fabulous.Core
  • ComponentNavigation → Fabulous.Core
  • CounterApp → Fabulous.Core
  • DrawingApp → Fabulous.Avalonia
  • DrawingApp → Fabulous.Core
  • Fabulous.Avalonia → Fabulous.Core
  • Fabulous.MauiControls → Fabulous.Core
  • Gallery → Fabulous.Avalonia
  • Gallery → Fabulous.Core
  • GameOfLife → Fabulous.Core
  • GitHubClient → Fabulous.Core
  • MultiWindow → Fabulous.Core
  • NavigationPath → Fabulous.Core
  • TestableApp → Fabulous.Core
  • Tetris → Fabulous.Core
  • TicTacToe → Fabulous.Core

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

fabulous-dev/Fabulous was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 14 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit ef5a267247b09abdba9151dd157ceb08150b65ad — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-e1a3b69fc8ee.