# XP.css

> Windows XP Luna look for semantic HTML: blue title bars, glossy buttons, tabs and progress bars; also ships a 98 theme.

Source: https://tastebase.ehsanulsiam.workers.dev/browse/xp-css

free

Windows XP Luna look for semantic HTML: blue title bars, glossy buttons, tabs and progress bars; also ships a 98 theme.

by Adam Hammad[GitHub](https://github.com/botoxparty/XP.css)[npm](https://npmjs.com/package/xp.css)

[visit](https://botoxparty.github.io/XP.css/?utm_source=tastebase&utm_medium=referral&utm_content=detail-page)

[https://botoxparty.github.io/XP.css/](https://botoxparty.github.io/XP.css/?utm_source=tastebase&utm_medium=referral&utm_content=detail-preview)

## Try these

no preview

### [98.css](https://tastebase.ehsanulsiam.workers.dev/browse/98-css)

Windows 98 look for semantic HTML: bevelled windows, title bars, buttons, fields, tabs and tree views, CSS only.

no preview

### [7.css](https://tastebase.ehsanulsiam.workers.dev/browse/7-css)

Windows 7 Aero look for semantic HTML: glass windows, glossy buttons, menus, balloons and list views, CSS only.

no preview

### [system.css](https://tastebase.ehsanulsiam.workers.dev/browse/system-css)

Classic 1-bit Macintosh (System 6) look for HTML: pinstriped windows, Chicago type, dialogs and a menu bar, CSS only.

no preview

### [NES.css](https://tastebase.ehsanulsiam.workers.dev/browse/nes-css)

NES-style 8-bit CSS framework: pixel buttons, containers, speech balloons, progress bars, form controls and icons.

## Looks that pick it

[Retro OS (Windows 9x)](https://tastebase.ehsanulsiam.workers.dev/looks/retro-os)

## For your agent

##### Install

`npm i xp.css`

##### Use it for

- a Windows XP style login, settings dialog or desktop for a 2000s nostalgia site
- blue Luna windows with XP minimize, maximize and close buttons, tabs, group boxes and progress bars

##### Skip it when

- Windows 95 or 98 grey chrome: use 98-css, which is maintained and lighter
- Windows 7 or Vista glass: use 7-css
- one retro section inside a page styled by another kit: XP.css restyles every button and input; use 7-css's scoped build

##### What's inside11 free

- Button
- Checkbox
- Option Button
- Tabs
- Group Box
- Text Box
- Slider
- Dropdown
- Window
- Tree View
- Progress Bar

##### Facts

**Frameworks**
react, vue, svelte, solid, angular, vanilla

**Styling**
css

**Weight**
medium

**Accessibility**
ok

**Maturity**
stable

**License**
MIT

**Price**
Free

##### Alternatives

[98.css](https://tastebase.ehsanulsiam.workers.dev/browse/98-css)[7.css](https://tastebase.ehsanulsiam.workers.dev/browse/7-css)

[Compare XP.css with its alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/xp-css-alternatives)

```
import "xp.css/dist/XP.css"

<div class="window" style="width: 300px">
  <div class="title-bar">
    <div class="title-bar-text">Log On to Windows</div>
    <div class="title-bar-controls">
      <button aria-label="Minimize"></button>
      <button aria-label="Close"></button>
    </div>
  </div>
  <div class="window-body">
    <div class="field-row"><label for="user">User name:</label><input id="user" type="text" /></div>
    <button>OK</button>
  </div>
</div>
```

https://botoxparty.github.io/XP.css/

Loading website

[Visit](https://botoxparty.github.io/XP.css/?utm_source=tastebase&utm_medium=referral&utm_content=floating-pill)
