Skip to content

tossnet/Blazor-WinOld

Repository files navigation

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 (Windows 98, XP, 7 and 10). Create retro-styled web applications with authentic Windows UI components.

🪶 Lightweight the NuGet package is only ~260 KB.

Compatible with Blazor Server and Blazor WebAssembly

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

thumbnail

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.

Enregistrement.2026-04-02.151547.mp4

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();

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

<WinOldMessageBoxHost />  <!-- Only if you use MessageBox -->
<WinOldInputBoxHost />    <!-- Only if you use InputBox -->
<WinOldDialogHost /> <!-- Only if you use DialogBox -->

Release Notes

🚧 Upcoming (not yet released)
  • WinOldButton: preview of a new DOS appearance style — retro terminal-inspired button with IBM VGA font and classic shadow effect
Version 2.4.0
  • WinOldMenuItem: new IconCssClass and IconTemplate parameters. Display icons from any external library (Bootstrap Icons, Font Awesome, custom SVG…) without bundling any icon dependency in the package
Version 2.3.0
  • The WinOldMenu component can be used as a Context Menu by setting the IsContextMenu property to true
Version 2.2.1
  • Accessibility: added ARIA attributes (role, aria-expanded, aria-selected, aria-modal, aria-labelledby…) to all components
Version 2.2.0
  • Added new WinOldMenu
  • Button : winXP and win7 , add default style
Version 2.1.0
  • Added new WinOldNumberBox component for numeric input with support for generic types
  • Enhanced WinOldInputBox with support for numeric types: int, decimal, and double
  • New extension methods: ShowInputBox<int?>(), ShowInputBox<decimal?>(), and ShowInputBox<double?>()
Version 2.0.0
  • Added new Windows 10 style theme
  • Windows 10 is now the default style applied to all components
Version 1.5.0
  • Added WinOldDialog component: a fully draggable dialog window supporting custom child content
Version 1.4.0
  • Added drag-and-drop support for MessageBox and InputBox, allowing users to move the window freely across the screen.
Version 1.3.1
  • Improve disabled style for some components (Frame, Options, Tab)
  • WinOldTabs : a Tab can be disabled.
Version 1.3.0 ⚠️ BREAKING CHANGE
  • DialogOptions has been renamed to MessageBoxOptions for WinOldMessageBox
  • Migration: Replace 'new DialogOptions' with 'new MessageBoxOptions' (simple Find/Replace)
  • New WinOldInputBox component
  • Button : Add "Default" Property style for win98 button
Version 1.2.9
  • Fix height of Tabs
  • Fix disabled style of WinOldButton
Version 1.2.8
  • win7 : separation of font size from font family
Version 1.2.7
  • Improved checkbox component rendering
  • Fixed button and selectbox label colors on Safari
Version 1.2.6
  • Added disabled attribute support on WinOldSelect component
  • Added Select page in the demo site
Version 1.2.2
  • Added .AddWinOldComponents() to simplify declaration

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 :

About

Blazor components are available in Windows 98, Windows XP, Windows 7 and Windows 10 desktop styles. They are compatible with .NET 10, 9 and 8 and higher versions of Blazor applications. Stand-alone styles compatible with other UI frameworks

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors