Windows Phone 8 in the browser, and the library it is built on, for making apps that look and move like the phone. The phone has Start and its live tiles, the app list, Settings and ten other apps, rebuilt with React 19 and TypeScript and no UI libraries. Every colour, size and curve says where it came from: the phone's own theme files and markup, the Windows Phone Toolkit, frame-by-frame measurements of real phones or, failing those, a match by eye.
Live: wp8.vercel.app · Design system: wp8.vercel.app/design
- The phone (
apps/web/): Start with live tiles, the app list, the system tray and volume band, Settings, and Alarms, Calculator, Calendar, Camera, Messaging, Music+Videos, OneNote, People, Phone and Photos. Light and dark themes and all 20 accents. Pages turn with the turnstile, feather and continuum transitions, and anything you press tilts. - The library (
packages/metroweb/): themetrowebpackage the phone is built on. The pivot and panorama, lists, toggle switches, pickers, text boxes, the app bar and message boxes; the page stack and its transitions; tilt; the type ramp, both themes and the 20 accents. - The starter (
templates/starter/): a small to-do app on the package, to copy when you start your own. - The agent skill (
skills/metro-ui/): for coding agents building on the package. The steps, the rules, and a checker for the ones code can show, from accent hexes and font weights to click handlers on divs.DESIGN.mdhas the tokens and rules in Google's DESIGN.md format, for design tools. - The design system (
docs/design/): 14 pages on how Metro looks, moves and behaves, from the 480 px canvas and the 12 px grid to motion, navigation, components, live tiles and writing. Each value gives its Microsoft name, the CSS variable that holds it and a source label that says how far to trust it. The same pages are a site with live demos at /design. - The evidence tools (
docs/evidence/): the decoders for the emulator image's UIX markup and string tables, the Swift tools that measured footage of real phones, and the curve fits. The Microsoft files and video frames they produced are kept out of this repository.
Copy the starter:
npx degit ImperialBebek/metroweb/templates/starter my-app
cd my-app
npm install
npm run devOr add the package to an app you already have:
npm install metrowebThe package README has a quick start, the components and the short version of the rules that keep an app looking and behaving like the phone. The design docs are the full spec.
With a coding agent, install the skill in your app, and the agent reads it when you ask for Metro UI:
npx skills add ImperialBebek/metrowebAgents without skills can start from wp8.vercel.app/llms.txt: the design docs as Markdown, page by page or in one file.
Needs Node 20.19+ or 22.12+. The repository is an npm workspace, so run everything from its root.
npm install
npm run dev # the phone at /, the design docs at /design
npm run lint # oxlint
npm run lint:metro # the skill's Metro checker, errors only
npm run build # type check and build the package, the phone and the starternpm run docs:assets regenerates the screenshots, diagrams and motion strips in docs/design/assets. It needs a Playwright Chromium (npx playwright-core install chromium-headless-shell) or CHROMIUM_PATH pointing at one.
Read AGENTS.md, which is for people as much as for agents, and the design docs page for the area you're changing. In short: the phone wins over web conventions, every value carries a source label, and the docs change in the same commit as the code.
- The code and docs are under the MIT License.
- Text is set in Metroweb Sans: Selawik, Microsoft's open-source metric match for Segoe UI, modified and renamed as its licence requires. It is under the SIL Open Font License.
- Icons are from Phosphor, under the MIT License.
- Tilt is a port of the Windows Phone Toolkit's
TiltEffect, souseTilt.tsis under the Microsoft Public License rather than MIT. Values labelled Toolkit come from the Toolkit's source. - The music is public-domain recordings from Wikimedia Commons; see
apps/web/public/music/CREDITS.md. - The sample photos in
apps/web/public/photos/are AI-generated for this project.
THIRD-PARTY-NOTICES.md has the details.
metroweb is an independent fan project. It is not affiliated with, endorsed by or sponsored by Microsoft. Windows and Windows Phone are trademarks of the Microsoft group of companies. None of the phone's own fonts, icons, sounds or images ship in this repository.



