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

pixelforge-ui

v1.0.0

Published

Retro-future design system with pixel-perfect components. Light & dark mode, Game Boy pastels, React + Tailwind.

Readme

PixelForge UI 🎮

A retro-future design system with pixel-perfect components, Game Boy pastels, and dark mode. Built with React, TypeScript, and Tailwind CSS.

Version License React


🎨 Features

  • Retro-Future Aesthetic — Soft shadows, gentle glows, and pixel-perfect borders
  • 🌙 Dark Mode — Full light/dark theme support out of the box
  • 🎮 Game Boy Palette — Pastello colors inspired by classic gaming consoles
  • Accessible — WCAG 2.1 compliant components with keyboard navigation
  • 📦 Tree-shakeable — Import only what you need
  • 🎯 TypeScript — Full type safety
  • 🚀 Zero Dependencies — Works with any React app

📦 Installation

npm install @pixelforge/ui

or with yarn:

yarn add @pixelforge/ui

🚀 Quick Start

1. Setup Tailwind CSS

npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init -p

2. Configure Tailwind

Update your tailwind.config.js:

import { colors, spacing, shadows } from '@pixelforge/ui'

export default {
  content: [
    './src/**/*.{js,ts,jsx,tsx}',
  ],
  theme: {
    extend: {
      colors,
      spacing,
      boxShadow: shadows,
    },
  },
}

3. Use Components

import { Button } from '@pixelforge/ui'
import '@pixelforge/ui/dist/index.css'

export default function App() {
  return <Button>Press Start</Button>
}

📚 Design Tokens

All design tokens are exported from the package:

import {
  colors,
  typography,
  spacing,
  shadows,
  borderRadius,
  transitions,
  zIndex,
} from '@pixelforge/ui'

Color Palette

// Primary pastello colors
colors.primary.lime      // #C4F0C8
colors.primary.lavender  // #D4B5E8
colors.primary.sky       // #B8E0F0
colors.primary.peach     // #F0D9C8
colors.primary.mint      // #C8F0E0

// Semantic colors
colors.semantic.success  // #7FD8B8
colors.semantic.warning  // #FFB347
colors.semantic.error    // #FF6B6B
colors.semantic.info     // #B8E0F0

🎮 Components

Available Components

  • ✅ Button
  • ✅ Input
  • ✅ Card
  • ✅ Badge
  • ✅ Modal
  • ✅ Dropdown
  • ✅ Tooltip
  • ✅ Navbar
  • ✅ Sidebar
  • ✅ Footer

See the documentation for full usage examples.


🌙 Dark Mode

Dark mode is supported via CSS class. Use a theme switcher in your app:

export function ThemeToggle() {
  const [isDark, setIsDark] = useState(false)

  return (
    <button
      onClick={() => {
        setIsDark(!isDark)
        document.documentElement.classList.toggle('dark')
      }}
    >
      {isDark ? '🌙' : '☀️'}
    </button>
  )
}

🛠️ Development

Clone and install:

git clone https://github.com/yourusername/pixelforge-ui.git
cd pixelforge-ui
npm install

Build

npm run build

Watch Mode

npm run dev

Type Check

npm run type-check

📖 Documentation

Full component documentation is available in the /docs folder.

To run the documentation locally:

npm run docs

Then visit http://localhost:8080


🎨 Customization

All tokens can be overridden in your tailwind.config.js:

export default {
  theme: {
    extend: {
      colors: {
        pixelforge: {
          lime: '#your-custom-color',
        },
      },
    },
  },
}

📄 License

MIT © 2024 PixelForge UI


🤝 Contributing

Contributions are welcome! Please open an issue or submit a pull request.


Made with 🎮 by the PixelForge team