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

@acadxp/xpui

v0.1.0-beta.2

Published

Game-inspired React component library for AcadXP

Readme

The Playful React UI Library with pixel-art aesthetics

npm version License: MIT TypeScript Tailwind CSS

DocumentationNPM PackageReport Bug


🌟 Why xpui?

xpui is a React UI library designed for developers who want to add a unique, game-inspired aesthetic to their applications. Perfect for:

  • 🎮 Gaming platforms and educational apps
  • 🎯 AcadXP ecosystem projects
  • 🎨 Creative projects that need a distinct retro look
  • 🚀 Modern apps with a nostalgic twist

Built with modern web technologies and best practices, xpui combines the charm of pixel-art design with the power of React, TypeScript, and Tailwind CSS.

✨ Features

  • 🎨 Pixel-art styling - Retro aesthetic with modern functionality
  • 🎯 TypeScript - Full type safety
  • 🎪 Tailwind CSS - Utility-first styling with tailwind-variants
  • 🧩 Flexible - Customizable with className overrides
  • Accessible - Built with accessibility in mind
  • 📦 Lightweight - Minimal dependencies

📦 Installation

npm install @acadxp/xpui
# or
pnpm add @acadxp/xpui
# or
yarn add @acadxp/xpui

Peer Dependencies

npm install react react-dom tailwindcss @tailwindcss/vite

🚀 Quick Start

1. Import styles in your app

import "@acadxp/xpui/styles";

2. Use components

import { Button } from "@acadxp/xpui";

function App() {
  return (
    <Button variant="primary" size="lg" onClick={() => alert("Clicked!")}>
      Click Me!
    </Button>
  );
}

📚 Components

Button

A pixel-art styled button component with multiple variants and sizes.

import { Button } from "@acadxp/xpui";

// Variants
<Button variant="primary">Primary</Button>
<Button variant="secondary">Secondary</Button>
<Button variant="success">Success</Button>
<Button variant="danger">Danger</Button>
<Button variant="outline">Outline</Button>

// Sizes
<Button size="sm">Small</Button>
<Button size="md">Medium</Button>
<Button size="lg">Large</Button>

// Pixelated font
<Button pixelated>Retro Font</Button>
<Button pixelated={false}>Normal Font</Button>

// Custom styling
<Button className="bg-purple-500 hover:bg-purple-600">
  Custom
</Button>

// Disabled
<Button disabled>Disabled</Button>

Props

| Prop | Type | Default | Description | | -------------------------- | ---------------------------------------------------------------- | ----------- | --------------------------------- | | variant | 'primary' \| 'secondary' \| 'success' \| 'danger' \| 'outline' | 'primary' | Button color variant | | size | 'sm' \| 'md' \| 'lg' | 'md' | Button size | | pixelated | boolean | true | Use monospace font for retro look | | disabled | boolean | false | Disable the button | | className | string | - | Additional CSS classes | | All HTML button attributes | - | - | onClick, type, etc. |

🛠️ Utilities

cn (Class Name Utility)

Merge and conditionally apply CSS classes.

import { cn } from "@acadxp/xpui";

<Button className={cn("custom-class", isActive && "active-class")}>
  Button
</Button>;

🎨 Customization

All components support className overrides for full customization:

<Button variant="primary" className="rounded-full shadow-2xl border-4">
  Custom Styled
</Button>

📖 More Components Coming Soon

  • 🎯 Input
  • 🎪 Card
  • 🎨 Badge
  • 📦 Modal
  • 🎭 Tooltip
  • 🎪 Dropdown
  • And more...

🛠️ Development

Want to contribute or run locally?

# Clone the repository
git clone https://github.com/acadxp/xpui.git
cd xpui

# Install dependencies
pnpm install

# Start Storybook for development
pnpm dev

# Build the library
pnpm build

# Run tests
pnpm test

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📄 License

MIT © DripCode-Studio


🔗 Links