Skip to content

Repository files navigation

404 Retro macOS Window

A sleek, macOS-inspired 404 error page with a nostalgic retro interface, interactive color controls, and a clean monospace aesthetic.

Overview

A 404 page doesn't have to feel like an error.

404 Retro macOS Window transforms the familiar "page not found" experience into a small, interactive desktop-inspired interface. It combines classic macOS-style window controls with a minimalist retro design, subtle grid background, and dynamic color switching.

Built entirely with HTML, CSS, and vanilla JavaScript, the page has no frameworks, no dependencies, and no build step.

Just copy it into your project, customize it, and make your 404 page feel like part of your website.

Preview

Desktop Mobile
Desktop Preview Mobile Preview
color controls preview The classic macOS-style window controls aren't just decorative - they're fully interactive. Click the red, yellow, or green control to instantly switch the page's background color, adding a subtle touch of personality while preserving the clean, retro desktop aesthetic.

Quick Start

GitHub Pages

Using it with GitHub Pages is simple:

  1. Rename index.html to 404.html.
  2. Keep 404.html in the root of your repository.
  3. If using the external version, keep style.css and script.js alongside it.
  4. Commit and push your changes.

GitHub Pages automatically serves a root-level 404.html when a visitor reaches a page that doesn't exist.

Other Hosting

For other hosting platforms, rename index.html to 404.html and upload it to your website's public or root directory.

If you're using the external version, upload style.css and script.js alongside it.

Most hosting platforms automatically serve 404.html for missing pages. If yours requires additional configuration, check your hosting provider's documentation for setting a custom 404 page.

Inline Version

Prefer a single file? Use either inline/index.html or the minified inline/index.min.html.

Simply copy the contents into a new 404.html in your repository or hosting root and you're ready to go – no external CSS, JavaScript, or assets required.

Made with ❤️ by Not Found Pages

Give your visitors something better than a dead end.

About

A sleek retro 404 page inspired by classic macOS desktops. Features a minimal monospace design, macOS-style title bar controls, interactive color switching, and a clean UI. Built with pure HTML, CSS & JS, it’s lightweight, responsive, and perfect for modern websites seeking a polished retro touch.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages