npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

retro-react

v1.6.0

Published

A React UI library that looks like Windows 95/98. 50+ typed, accessible components with classic 3D bevels and sharp pixel edges.

Downloads

1,019

Readme

retro-react

npm version npm license

A React component library that looks like Windows 95 / 98. 50+ typed, tree-shakable components with classic 3D bevels and sharp pixel edges. Includes the usual lineup (buttons, inputs, modals, tabs, accordions, tables, trees, popovers, alerts) plus one-of-a-kind retro pieces like Pager, CRT, Terminal, WordArt, Marquee, TypewriterText, and SevenSegmentDisplay.

retro-react hero

Live demo and docs

Highlights

  • Looks like Win 9x. Sunken / raised / pressed bevels, system fonts, navy-and-silver palette, no rounded corners.
  • Installs with one command. No peer-dep dance, no theme provider, no global CSS.
  • Tree-shakable. sideEffects: false, single ESM + CJS entry. Your bundler only ships what you import.
  • TypeScript-first. Strict types ship with the package and work with tsc, Vite, Next.js, Remix.
  • Controlled and uncontrolled. Every form-style component supports both.
  • Accessible by default. Focus trap on dialogs, ARIA on combobox / tree / tabs / menu, full keyboard nav.
  • Works in React Server Components. The bundle ships with "use client" so it drops into Next.js App Router without setup.
  • React 16.8 through 19 as the only peer dependency.

Install

npm install retro-react
# or
yarn add retro-react
# or
pnpm add retro-react

That's it. @emotion/react, @emotion/styled, and theme-ui install transitively. No provider setup required.

Quick start

import { Button, Card, Input, Modal } from 'retro-react';
import { useState } from 'react';

export default function App() {
	const [open, setOpen] = useState(false);

	return (
		<Card header="Sign in">
			<Input placeholder="Username" />
			<Button variant="primary" onClick={() => setOpen(true)}>
				OK
			</Button>
			<Button variant="outline">Cancel</Button>

			<Modal open={open} onClose={() => setOpen(false)} title="Welcome">
				<p>Logged in.</p>
			</Modal>
		</Card>
	);
}

What's in the box

Buttons, forms, and chips

Buttons and actions: Button, ButtonGroup, ToggleButton, ToggleButtonGroup, Chip.

Form controls: Input, PasswordInput, Select, Autocomplete, Checkbox, Radio, Switch, Slider, DocumentUpload.

Data display: Table, Statistics, Avatar, Badge, Tree, SevenSegmentDisplay, Carousel.

Feedback and status: Alert, ProgressBar, Spinner, Skeleton, Stepper.

Navigation: Tabs, Menu, Navbar, Breadcrumbs, Pager.

Layout and containers: Box, Card, Container, Accordion, Divider, FlexibleLayout, Group.

Retro text effects: Text, WordArt, Marquee, TypewriterText.

Dialogs and overlays: Modal, Drawer, Popover, Tooltip.

Atmosphere: CRT, Terminal, StarField, MouseTrail, PixelatedImage, Scrollbar, Background.

Atmosphere components

See the demo for live props, controls, and source for every component.

Styling

sx prop

Every component accepts an sx prop for one-off overrides:

<Button sx={{ minWidth: 120 }}>Send</Button>
<Text sx={{ color: '#000080' }}>Heading</Text>

retro-ui class

Every component carries a retro-ui class so you can override globally without targeting internals:

.retro-ui {
	font-family: 'Pixelated MS Sans Serif', system-ui;
}

Emotion

styled and useTheme are re-exported for consumers that want their own retro-styled components:

import { styled, useTheme } from 'retro-react';

const Bevel = styled('div')`
	border: 2px solid;
	border-color: #fff #808080 #808080 #fff;
	background: #c0c0c0;
	padding: 8px 12px;
`;

Contributing

Issues and PRs are welcome at github.com/retro-react/retro-react. For non-trivial changes please open an issue first.

License

MIT