Skip to content

Windows XP (Luna)

The winxp pack imitates Windows XP (2001) in its default Luna Blue visual style: the saturated blue title bar with rounded top corners and the white Trebuchet MS caption, the glossy blue Minimize/Maximize and red-orange Close buttons, beige #ece9d8 dialog surfaces, rounded push buttons with the orange hover and blue default-button glows, green check marks and green progress blocks, the orange line on the selected tab, the green start button on the blue taskbar, Explorer's blue task pane, and the Welcome screen. Text is Tahoma 8 pt (11 px). Logos are replaced by a neutral flag glyph, and every app and file name is invented.

Select it with import WindowsXP (also WinXP, Luna) or pack="winxp" on the fence. A desktop fence gets the Luna window frame automatically; use chrome="none" for full-screen scenes. Element names follow Win32 and the XP shell: Window, DialogBody, MessageBox, Wizard, TabControl, TabPage, GroupBox, PushButton, DefaultButton, CheckBox, OptionButton, RadioButtonList, TextBox, ComboBox, UpDown, TrackBar, ProgressBar, DateTimePicker, MonthCalendar, ListView, TreeView, StatusBar, MenuBar, ToolBar, AddressBar, TaskPane, TaskPaneSection, TaskLink, Desktop, DesktopIcon, Taskbar, StartButton, StartMenu, NotificationArea, Balloon, WelcomeScreen and UserTile — mockitdown elements winxp lists them all. The dark appearance is a "Luna Noir" variant: black glossy title bars, charcoal surfaces and orange highlights.

Welcome screen

The log-on screen: dark blue bands with the light rules, the neutral glyph on the left, user tiles on the right and Turn off computer at the bottom.

WorkstationTo begin, click your user name
Alex Morgan
Sam RiveraType your password
••••••
Guest
Turn off computer
After you log on, you can add or change accounts.
Just go to Control Panel and click User Accounts.
Welcome

Options dialog with every control

A property sheet: DialogBody(variant: "help") turns the frame into a dialog with only ? and Close. TabControl draws the orange line on the selected tab, GroupBox the blue caption on the etched frame. OK is the default button (blue glow), Browse… is hovered (orange glow) and Apply is disabled.

Backup Options
GeneralExclusionsAdvancedLog
Back up to
Local Disk (D:)
D:\Backups\Weekly
Browse...
Schedule
Every dayEvery weekOnly when I ask
Mar 8, 2002
Copies to keep:4
Options
Verify data after backupInclude system filesShut down when finishedEncrypt backup (needs NTFS)
Compression
FastSmall
Last backup
1,204 of 1,942 files copied
OKCancelApply
Light
Backup Options
GeneralExclusionsAdvancedLog
Back up to
Local Disk (D:)
D:\Backups\Weekly
Browse...
Schedule
Every dayEvery weekOnly when I ask
Mar 8, 2002
Copies to keep:4
Options
Verify data after backupInclude system filesShut down when finishedEncrypt backup (needs NTFS)
Compression
FastSmall
Last backup
1,204 of 1,942 files copied
OKCancelApply
Dark
Backup Options
Source
DialogBody(variant: "help") {
  TabControl(selection: "General") {
    TabPage("General") {
      HStack(alignment: .top, spacing: 10) {
        VStack(alignment: .leading, spacing: 8) {
          GroupBox("Back up to") {
            ComboBox(items: ["Local Disk (D:)", "Removable Disk (E:)"], selection: "Local Disk (D:)")
            TextBox(text: "D:\\Backups\\Weekly").state(.focused)
            HStack { Spacer(); PushButton("Browse...").state(.hover) }
          }
          GroupBox("Schedule") {
            RadioButtonList(items: ["Every day", "Every week", "Only when I ask"], selection: "Every week")
            DateTimePicker("Starting:", selection: "2002-03-08")
            UpDown("Copies to keep:", value: 4)
          }
        }
        .frame(maxWidth: .infinity)
        VStack(alignment: .leading, spacing: 8) {
          GroupBox("Options") {
            CheckBox("Verify data after backup", checked: true)
            CheckBox("Include system files", checked: .mixed)
            CheckBox("Shut down when finished")
            CheckBox("Encrypt backup (needs NTFS)").disabled()
          }
          GroupBox("Compression") {
            TrackBar(value: 6, in: 0...10, ticks: 10, minLabel: "Fast", maxLabel: "Small")
          }
          GroupBox("Last backup") {
            ProgressBar(value: 0.62)
            Text("1,204 of 1,942 files copied")
          }
        }
        .frame(maxWidth: .infinity)
      }
    }
    TabPage("Exclusions") { }
    TabPage("Advanced") { }
    TabPage("Log") { }
  }
  .frame(maxHeight: .infinity)
  HStack(spacing: 6) {
    Spacer()
    DefaultButton("OK")
    PushButton("Cancel")
    PushButton("Apply").disabled()
  }
}

Explorer

My Documents in Details view: the menu bar, the Standard Buttons toolbar with the green Back arrow, the address bar with Go, the blue task pane with its collapsible boxes, and a ListView with the selected row in the Luna highlight. The bars come from a custom ExplorerBars component in docs/mockups/winxp/shell.mockitdown.

My Documents
File and Folder Tasks
Rename this fileMove this fileCopy this fileE-mail this fileDelete this file
Other Places
DesktopShared DocumentsMy Computer
Details
Budget 2002.xlsSpreadsheetDate Modified: Friday, March 08, 2002, 4:21 PMSize: 48.5 KB
NameSizeTypeDate Modified
My Music File Folder2/14/2002 9:12 AM
My Pictures File Folder3/02/2002 6:40 PM
Recipes File Folder1/27/2002 8:03 PM
Budget 2002.xls49 KBSpreadsheet3/08/2002 4:21 PM
Garden plan.doc112 KBDocument2/20/2002 7:55 PM
Holiday letter.doc36 KBDocument12/11/2001 10:31 AM
Mixtape.m3u2 KBPlaylist1/03/2002 11:47 PM
Type: Spreadsheet Date Modified: 3/08/2002 4:21 PM Size: 48.5 KB48.5 KBMy Computer
Light
My Documents
File and Folder Tasks
Rename this fileMove this fileCopy this fileE-mail this fileDelete this file
Other Places
DesktopShared DocumentsMy Computer
Details
Budget 2002.xlsSpreadsheetDate Modified: Friday, March 08, 2002, 4:21 PMSize: 48.5 KB
NameSizeTypeDate Modified
My Music File Folder2/14/2002 9:12 AM
My Pictures File Folder3/02/2002 6:40 PM
Recipes File Folder1/27/2002 8:03 PM
Budget 2002.xls49 KBSpreadsheet3/08/2002 4:21 PM
Garden plan.doc112 KBDocument2/20/2002 7:55 PM
Holiday letter.doc36 KBDocument12/11/2001 10:31 AM
Mixtape.m3u2 KBPlaylist1/03/2002 11:47 PM
Type: Spreadsheet Date Modified: 3/08/2002 4:21 PM Size: 48.5 KB48.5 KBMy Computer
Dark
My Documents
Source
import "winxp/shell"

VStack(spacing: 0) {
  ExplorerBars(path: "C:\\Documents and Settings\\Alex\\My Documents")
  HStack(spacing: 0) {
    TaskPane {
      TaskPaneSection("File and Folder Tasks") {
        TaskLink("Rename this file", systemImage: "pencil")
        TaskLink("Move this file", systemImage: "folder")
        TaskLink("Copy this file", systemImage: "doc.on.doc")
        TaskLink("E-mail this file", systemImage: "envelope")
        TaskLink("Delete this file", systemImage: "xmark")
      }
      TaskPaneSection("Other Places") {
        TaskLink("Desktop", systemImage: "square.grid.2x2")
        TaskLink("Shared Documents", systemImage: "folder")
        TaskLink("My Computer", systemImage: "computer")
      }
      TaskPaneSection("Details") {
        Text("**Budget 2002.xls**")
        Text("Spreadsheet")
        Text("Date Modified: Friday, March 08, 2002, 4:21 PM")
        Text("Size: 48.5 KB")
      }
    }
    .frame(width: 210)
    .frame(maxHeight: .infinity)
    ListView(columns: ["Name", "Size", "Type", "Date Modified"], sortColumn: 0, selectedRows: [3]) {
      TableRow { Label("My Music", systemImage: "folder"); Text(""); Text("File Folder"); Text("2/14/2002 9:12 AM") }
      TableRow { Label("My Pictures", systemImage: "folder"); Text(""); Text("File Folder"); Text("3/02/2002 6:40 PM") }
      TableRow { Label("Recipes", systemImage: "folder"); Text(""); Text("File Folder"); Text("1/27/2002 8:03 PM") }
      TableRow { Label("Budget 2002.xls", systemImage: "chart.bar"); Text("49 KB"); Text("Spreadsheet"); Text("3/08/2002 4:21 PM") }
      TableRow { Label("Garden plan.doc", systemImage: "doc"); Text("112 KB"); Text("Document"); Text("2/20/2002 7:55 PM") }
      TableRow { Label("Holiday letter.doc", systemImage: "doc"); Text("36 KB"); Text("Document"); Text("12/11/2001 10:31 AM") }
      TableRow { Label("Mixtape.m3u", systemImage: "music.note"); Text("2 KB"); Text("Playlist"); Text("1/03/2002 11:47 PM") }
    }
    .frame(maxWidth: .infinity, maxHeight: .infinity)
  }
  .frame(maxWidth: .infinity, maxHeight: .infinity)
  StatusBar {
    StatusBarPanel("Type: Spreadsheet  Date Modified: 3/08/2002 4:21 PM  Size: 48.5 KB")
    StatusBarPanel("48.5 KB").frame(width: 80)
    StatusBarPanel("My Computer").frame(width: 120)
  }
}

Control Panel with an error

Category view of a settings window, with a modal MessageBox reporting a failure: the red error icon, the message and a centred OK default button.

Control Panel
Control Panel
Switch to Classic View
See Also
Software UpdateHelp and SupportOther Control Panel Options
Pick a category
Appearance and ThemesPrinters and Other HardwareNetwork and Internet ConnectionsUser AccountsAdd or Remove ProgramsDate, Time, Language, and Regional OptionsSounds, Speech, and Audio DevicesAccessibility OptionsPerformance and MaintenanceSecurity Center
Control Panel

Annotated wizard

A wizard page inside a dialog frame: the white header band with title, subtitle and picture, the body on the beige surface, and the etched line above < Back, Next > and Cancel. Choose the folders to keep in sync 1 and how conflicts are resolved 2; the progress bar 3 shows the space the copy needs, and Next > 4 is the default button.

Sync Setup Wizard
Choose what to synchronizeYou can change these settings later in Sync Options.
Which folders do you want to keep in sync with the office server?
My DocumentsDesktopFavorites
1
When a file changed in both places:
Keep the newer copyAsk me every time
2
Space needed on the server: 312 MB of 500 MB
3
< BackNext >
4
Cancel
1
2
3
4
Sync Setup Wizard

Desktop with the Start menu open

The full shell: wallpaper, desktop icons, an inactive Window, the two-column Start menu with the user picture, the blue taskbar with Quick Launch and window buttons, and a warning Balloon rising from the notification area. The taskbar is the XPTaskbar component.

My DocumentsMy ComputerMy Network PlacesRecycle Bin
My Pictures
Beach.jpgBirthday.jpgGardenKites.jpgSnow day.jpg
Alex Morgan
InternetWeb Browser
E-mailMail Client
Photo Album
Notepad
Media Player
Command Prompt
All Programs
My Documents
My Pictures
My Music
My Computer
Control Panel
Printers and Faxes
Help and Support
Search
Run...
Log OffTurn Off Computer
start
My PicturesBudget 2002.xls
Your computer might be at riskVirus protection might not be turned on. Click this balloon to fix this problem.10:42 AM
Light
My DocumentsMy ComputerMy Network PlacesRecycle Bin
My Pictures
Beach.jpgBirthday.jpgGardenKites.jpgSnow day.jpg
Alex Morgan
InternetWeb Browser
E-mailMail Client
Photo Album
Notepad
Media Player
Command Prompt
All Programs
My Documents
My Pictures
My Music
My Computer
Control Panel
Printers and Faxes
Help and Support
Search
Run...
Log OffTurn Off Computer
start
My PicturesBudget 2002.xls
Your computer might be at riskVirus protection might not be turned on. Click this balloon to fix this problem.10:42 AM
Dark
Desktop
Source
import "winxp/shell"

VStack(spacing: 0) {
  ZStack(alignment: .bottomLeading) {
    Desktop {
      DesktopIcon("My Documents", systemImage: "folder").position(x: 46, y: 44)
      DesktopIcon("My Computer", systemImage: "computer").position(x: 46, y: 124)
      DesktopIcon("My Network Places", systemImage: "globe").position(x: 46, y: 204)
      DesktopIcon("Recycle Bin", systemImage: "trash").selected().position(x: 46, y: 284)
      Window("My Pictures", systemImage: "photo", variant: "inactive") {
        IconView {
          FileIcon("Beach.jpg", systemImage: "photo")
          FileIcon("Birthday.jpg", systemImage: "photo")
          FileIcon("Garden", systemImage: "folder")
          FileIcon("Kites.jpg", systemImage: "photo")
          FileIcon("Snow day.jpg", systemImage: "photo")
        }
        .frame(maxHeight: .infinity)
      }
      .frame(width: 440, height: 300)
      .position(x: 700, y: 210)
    }
    .frame(maxWidth: .infinity, maxHeight: .infinity)
    StartMenu("Alex Morgan", avatar: "Alex Morgan", avatarImage: "assets/images/avatar-1.svg") {
      StartMenuPrograms {
        StartProgram(name: "Internet", detail: "Web Browser", icon: "internet")
        StartProgram(name: "E-mail", detail: "Mail Client", icon: "email")
        Divider()
        StartProgram(name: "Photo Album", icon: "photo")
        StartProgram(name: "Notepad", icon: "notepad")
        StartProgram(name: "Media Player", icon: "media.player")
        StartProgram(name: "Command Prompt", icon: "command.prompt")
        Spacer()
        AllProgramsButton()
      }
      StartMenuPlaces {
        StartMenuItem("My Documents", systemImage: "my.documents")
        StartMenuItem("My Pictures", systemImage: "my.pictures")
        StartMenuItem("My Music", systemImage: "my.music")
        StartMenuItem("My Computer", systemImage: "computer")
        Divider()
        StartMenuItem("Control Panel", systemImage: "control.panel").selected()
        StartMenuItem("Printers and Faxes", systemImage: "printer")
        Divider()
        StartMenuItem("Help and Support", systemImage: "help")
        StartMenuItem("Search", systemImage: "search")
        StartMenuItem("Run...", systemImage: "run")
      }
    } actions: {
      LogOffButton()
      TurnOffButton()
    }
  }
  .frame(maxWidth: .infinity, maxHeight: .infinity)
  XPTaskbar(windows: ["My Pictures", "Budget 2002.xls"], active: "", startOpen: true) {
    TrayIcon("speaker")
    Balloon("Your computer might be at risk", message: "Virus protection might not be turned on. Click this balloon to fix this problem.", severity: .warning) {
      TrayIcon("security")
    }
    TrayIcon("wifi")
  }
}