BlazorWinOld 2.21.0

dotnet add package BlazorWinOld --version 2.21.0
                    
NuGet\Install-Package BlazorWinOld -Version 2.21.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BlazorWinOld" Version="2.21.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BlazorWinOld" Version="2.21.0" />
                    
Directory.Packages.props
<PackageReference Include="BlazorWinOld" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add BlazorWinOld --version 2.21.0
                    
#r "nuget: BlazorWinOld, 2.21.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package BlazorWinOld@2.21.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=BlazorWinOld&version=2.21.0
                    
Install as a Cake Addin
#tool nuget:?package=BlazorWinOld&version=2.21.0
                    
Install as a Cake Tool

Blazor.WinOld

NuGet BlazorWinOld Nuget Package GitHub

A Blazor UI component library that brings back the nostalgic look and feel of classic Windows operating systems (DOS, Windows 3.1, 98, XP, 7 and 10). Create retro-styled web applications with authentic Windows UI components.

🪶 Lightweight the NuGet package is only ~300 KB.

Compatible with Blazor Server and Blazor WebAssembly

DEMO and DOCS : https://tossnet.github.io/Blazor-WinOld/

<img width="1280" height="640" alt="Blazor WinOld UI component library" src="https://github.com/user-attachments/assets/7f29e88a-c368-4413-9fc9-52f94c53a5cd" />

Overview

BlazorWinOld provides a collection of Blazor components styled to match the iconic Windows interfaces from the late 90s and 2000s. Whether you're building a nostalgia-driven project or need that classic Windows aesthetic, this library delivers pixel-perfect components including buttons, message boxes, windows, tabs, and more.

💡 Already using a UI framework? No problem! BlazorWinOld is fully compatible alongside other UI libraries (MudBlazor, Radzen, Fluent UI…). You can adopt just the components you need, such as WinOldContextMenu or WinOldMessageBox, without any conflict.

https://github.com/user-attachments/assets/f5a8b771-8f57-4c40-8e1e-6ae8b29a05d7

Installation

Install-Package BlazorWinOld

or

dotnet add package BlazorWinOld

For client-side and server-side Blazor - add script section (head section)

 <link href="_content/BlazorWinOld/css/blazorwinold.css" rel="stylesheet" />

In Program.cs add this line

builder.Services.AddWinOldComponents();

in _Imports.razor :

@using Blazor.WinOld
@using Blazor.WinOld.Components

and in the bottom of your MainLayout.razor add these lines (optional, only if you use MessageBox or InputBox)

<WinOldMessageBoxHost />  
<WinOldInputBoxHost />    
<WinOldDialogHost /> 

CSS utilities

blazorwinold.css also includes a set of layout utility classes (flexbox, grid, gap, responsive sm: / md: / lg: / xl: variants), all prefixed with wo- to avoid conflicts with other CSS frameworks. Nothing to declare:

<div class="wo-col sm:wo-row wo-gap-16">
    <div>Column 1</div>
    <div class="wo-col wo-gap-8">Column 2</div>
</div>

See the CSS Utilities page of the demo for the full list.

Application layout

WinOldAppShell lays out a classic application in your own MainLayout: menu, toolbar, side pane, content and status bar. Only the side pane and the content scroll. Its Appearance is inherited by the WinOldMenu, WinOldToolbar, WinOldNavPane and WinOldStatusBar placed inside, and it already renders the MessageBox / InputBox / Dialog hosts (IncludeHosts="false" if you declare them yourself):

@inherits LayoutComponentBase

<WinOldAppShell Appearance="Appearance.Win98">
    <Menu><WinOldMenu>...</WinOldMenu></Menu>
    <Toolbar><WinOldToolbar>...</WinOldToolbar></Toolbar>
    <SidePane><WinOldNavPane>...</WinOldNavPane></SidePane>
    <StatusBar><WinOldStatusBar>...</WinOldStatusBar></StatusBar>
    <ChildContent>@Body</ChildContent>
</WinOldAppShell>

A page can add its own toolbar or status bar with <SectionContent SectionName="@WinOldAppShell.ToolbarSection"> (or StatusBarSection). See the AppShell page of the demo.

Scrollbars

Each appearance has its own scrollbar style: scroll-win-dos, scroll-win-31, scroll-win-98, scroll-win-xp, scroll-win-7, scroll-win-10. Add the class to any scrollable element, or get it with Appearance.ToScrollbarClass():

<div class="@Appearance.Win98.ToScrollbarClass()" style="height: 100px; overflow: auto;">...</div>

For the whole page, put the class on <html> in index.html, or change it at runtime with await JS.SetScrollbarAppearanceAsync(Appearance.Win7); (IJSRuntime). Firefox only gets the colors. See the Scrollbar page of the demo.

<a name="ReleaseNotes"></a>Release Notes

Version 2.19.0

  • New components: WinOldAppShell (application layout), WinOldNavPane (side navigation pane), WinOldStatusBar
  • WinOldWindow: new StatusBar slot
  • New scrollbar styles for every appearance (scroll-win-*, Appearance.ToScrollbarClass(), SetScrollbarAppearanceAsync())
  • WinOldListBox: new DOS, Win 3.1 and Win10 styles
  • WinOldMenu / WinOldToolbar: Appearance now inherited from the hosting WinOldWindow / WinOldAppShell
  • Demo: new full-screen Immersive demo (/immersive)

📜 Full changelog

Fonts

This project uses the Ultimate Oldschool PC Font Pack by VileR (int10h.org).
Font used: WebPlus IBM VGA 8x14

Thanks

I used these repo for most of the css and icons:

OS emulator :

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on BlazorWinOld:

Repository Stars
tossnet/Blazor-Calendar
Yearly, monthly and weekly calendar Blazor Component . For use with .NET 10, 9 and 8 or higher Blazor applications
Version Downloads Last Updated
2.21.0 58 10/1/2026
2.20.0 62 10/1/2026
2.19.0 71 9/30/2026
2.18.0 69 9/29/2026
2.17.0 80 9/29/2026
2.16.0 76 9/28/2026
2.15.0 91 9/26/2026
2.14.0 87 9/25/2026
2.13.0 95 9/22/2026
2.12.0 99 9/21/2026
2.11.0 106 9/20/2026
2.10.0 104 9/13/2026
2.9.0 111 9/5/2026
2.8.8 107 9/4/2026
2.8.7 146 7/29/2026
2.8.6 125 7/28/2026
2.8.5 114 7/28/2026
2.8.4 117 7/28/2026
2.8.3 124 7/27/2026
2.8.2 118 7/26/2026
Loading failed

v2.21 New component `WinOldHeading` and  some improvements
Full changelog: https://github.com/tossnet/Blazor-WinOld/blob/master/CHANGELOG.md