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

@pxlkit/ui-kit

v2.1.0

Published

Production-grade React UI kit with retro-future aesthetic: 111 production-ready components, WCAG 2.1 AA, surface system (pixel/linear), dark mode, 30-gate coherence audit, full SSOT documentation.

Readme

🚀 v2.0 — Ship a retro-future product without rolling your own design system.

111 components · 95%+ test coverage · WCAG 2.1 AA · 30 audit gates · switchable pixel ↔ linear surface


Overview

@pxlkit/ui-kit is a comprehensive React component library in the Pxlkit ecosystem, providing 111 retro pixel art styled components for building modern web applications with a nostalgic aesthetic. Every component follows a consistent pixel art design language with customizable color tones.

New in v1.5.0forwardRef wired across every interactive primitive, full accessibility pass (ARIA + focus rings + keyboard handlers), and PixelToast + PxlKitToastProvider shipped inside the kit. See the CHANGELOG for the full diff.

Installation

npm install @pxlkit/ui-kit

Peer dependencies: react ^18.2.0 || ^19.0.0 and react-dom ^18.2.0 || ^19.0.0

Import Styles

Add the stylesheet to your app entry point:

import '@pxlkit/ui-kit/styles.css';

Quick Start

import '@pxlkit/ui-kit/styles.css';
import { PixelButton, PixelCard, PixelInput } from '@pxlkit/ui-kit';

function App() {
  return (
    <PixelCard title="Welcome">
      <PixelInput label="Username" placeholder="Enter your name" />
      <PixelButton tone="green">Get Started</PixelButton>
    </PixelCard>
  );
}

Surface system — pixel ↔ linear

Every visible component accepts a surface?: 'pixel' | 'linear' prop that switches the aesthetic:

  • pixel (default) — chunky 2px borders, sharp staircase pixel corners (via clip-path), offset block shadow with no blur, mono/pixel typography. The signature retro identity.
  • linear — soft 1px borders, gentle rounded corners, blurred drop shadows, sans typography. Same API, modern aesthetic.

Switch one component:

<PixelButton surface="linear">Looks modern</PixelButton>

Switch a whole subtree via provider:

import { PxlKitSurfaceProvider } from '@pxlkit/ui-kit';

<PxlKitSurfaceProvider surface="linear">
  {/* every nested Pxlkit component inherits surface="linear" */}
</PxlKitSurfaceProvider>

Tone system

Components accept tone?: 'green' | 'cyan' | 'gold' | 'red' | 'purple' | 'pink' | 'neutral'. Tones map to design-token colours that respect the active theme (light/dark) and the --retro-* CSS variables — override any variable on :root or .dark to reskin every component.

Components

| Component | Status | Since | Category | | --- | --- | --- | --- | | PixelAccordion | stable | 1.0.0 | navigation | | PixelAlert | stable | 1.0.0 | feedback | | PixelAlertDialog | stable | 1.8.0 | overlays | | PixelAreaChart | stable | 1.9.0 | data | | PixelAvatar | stable | 1.0.0 | data | | PixelAvatarGroup | stable | 1.9.0 | data | | PixelBadge | stable | 1.0.0 | data | | PixelBadgeGroup | stable | 1.9.0 | data | | PixelBarChart | stable | 1.9.0 | data | | PixelBareButton | stable | 1.0.0 | actions | | PixelBareInput | stable | 1.0.0 | forms | | PixelBareTextarea | stable | 1.0.0 | forms | | PixelBento | stable | 1.7.0 | layout | | PixelBentoCell | stable | 1.7.0 | layout | | PixelBounce | stable | 1.6.0 | animations | | PixelBox | stable | 1.6.0 | layout | | PixelBreadcrumb | stable | 1.0.0 | navigation | | PixelButton | stable | 1.0.0 | actions | | PixelCalendarGrid | stable | 1.9.0 | forms | | PixelCard | stable | 1.0.0 | cards | | PixelCarousel | stable | 1.9.0 | data | | PixelCenter | stable | 1.6.0 | layout | | PixelCheckbox | stable | 1.0.0 | forms | | PixelChip | stable | 1.0.0 | data | | PixelChipGroup | stable | 1.9.0 | data | | PixelCluster | stable | 1.6.0 | layout | | PixelCodeInline | stable | 1.0.0 | data | | PixelCollapsible | stable | 1.0.0 | data | | PixelColorInput | stable | 1.9.0 | forms | | PixelColorSwatch | stable | 1.0.0 | data | | PixelCombobox | stable | 1.8.0 | forms | | PixelCommand | stable | 1.8.0 | overlays | | PixelContainer | stable | 1.6.0 | layout | | PixelDataTable | stable | 1.9.0 | data | | PixelDatePicker | stable | 1.8.0 | forms | | PixelDateRangePicker | stable | 1.9.0 | forms | | PixelDivider | stable | 1.6.0 | layout | | PixelDrawer | stable | 1.8.0 | overlays | | PixelDropdown | stable | 1.0.0 | overlays | | PixelEmptyState | stable | 1.0.0 | feedback | | PixelEqualHeightGrid | stable | 1.6.0 | layout | | PixelFadeIn | stable | 1.6.0 | animations | | PixelFeatureCard | stable | 1.7.0 | cards | | PixelFileUpload | stable | 1.8.0 | forms | | PixelFlicker | stable | 1.6.0 | animations | | PixelFloat | stable | 1.6.0 | animations | | PixelForm | stable | 1.8.0 | forms | | PixelGlitch | stable | 1.6.0 | animations | | PixelGrid | stable | 1.6.0 | layout | | PixelHeroMedia | stable | 1.7.0 | hero | | PixelHeroSection | stable | 1.7.0 | hero | | PixelIconFrame | stable | 1.7.0 | cards | | PixelInput | stable | 1.0.0 | forms | | PixelInputGroup | stable | 1.9.0 | forms | | PixelKbd | stable | 1.0.0 | data | | PixelMenubar | stable | 1.9.0 | navigation | | PixelModal | stable | 1.0.0 | overlays | | PixelMouseParallax | stable | 1.6.0 | parallax | | PixelMultiSelect | stable | 1.8.0 | forms | | PixelNavigationMenu | stable | 1.9.0 | navigation | | PixelNumberInput | stable | 1.8.0 | forms | | PixelOTPInput | stable | 1.8.0 | forms | | PixelPagination | stable | 1.0.0 | navigation | | PixelParallaxGroup | stable | 1.6.0 | parallax | | PixelParallaxLayer | stable | 1.6.0 | parallax | | PixelPasswordInput | stable | 1.0.0 | forms | | PixelPopover | stable | 1.8.0 | overlay-foundation | | PixelPortal | stable | 1.8.0 | overlay-foundation | | PixelPricingCard | stable | 1.7.0 | cards | | PixelProgress | stable | 1.0.0 | feedback | | PixelPulse | stable | 1.6.0 | animations | | PixelRadioGroup | stable | 1.0.0 | forms | | PixelRibbon | stable | 1.7.0 | cards | | PixelRotate | stable | 1.6.0 | animations | | PixelScrollArea | stable | 1.9.0 | layout | | PixelSection | stable | 1.6.0 | layout | | PixelSectionHeader | stable | 1.6.0 | layout | | PixelSegmented | stable | 1.0.0 | forms | | PixelSelect | stable | 1.0.0 | forms | | PixelShake | stable | 1.6.0 | animations | | PixelSheet | stable | 1.8.0 | overlays | | PixelSidebar | stable | 1.9.0 | navigation | | PixelSkeleton | stable | 1.0.0 | feedback | | PixelSlideIn | stable | 1.6.0 | animations | | PixelSlider | stable | 1.0.0 | forms | | PixelSparkline | stable | 1.9.0 | data | | PixelSpinner | stable | 1.9.0 | feedback | | PixelSplitButton | stable | 1.0.0 | actions | | PixelStack | stable | 1.6.0 | layout | | PixelStarRating | stable | 2.0.0 | cards | | PixelStatCard | stable | 1.0.0 | cards | | PixelStatGroup | stable | 1.9.0 | data | | PixelStepper | stable | 1.9.0 | navigation | | PixelSwitch | stable | 1.0.0 | forms | | PixelTable | stable | 1.0.0 | data | | PixelTabs | stable | 1.0.0 | navigation | | PixelTestimonialCard | stable | 1.7.0 | cards | | PixelTextarea | stable | 1.0.0 | forms | | PixelTextLink | stable | 1.0.0 | data | | PixelTimeline | stable | 1.9.0 | data | | PixelToast | stable | 1.0.0 | feedback | | PixelToggle | stable | 1.9.0 | forms | | PixelToggleGroup | stable | 1.9.0 | forms | | PixelTooltip | stable | 1.0.0 | overlays | | PixelTwoColumn | stable | 1.6.0 | layout | | PixelTypewriter | stable | 1.6.0 | animations | | PixelZoomIn | stable | 1.6.0 | animations | | PxlKitButton | deprecated | 1.0.0 | actions | | PxlKitLocaleProvider | stable | 1.6.0 | overlay-foundation | | PxlKitSurfaceProvider | stable | 1.6.0 | overlay-foundation | | PxlKitToastProvider | stable | 1.8.0 | feedback |

Locale / i18n utilities

| Export | Description | | --- | --- | | usePxlKitLocale() | Hook for locale-aware text transforms | | toLocaleUpper() | Locale-safe uppercase (handles Turkish İ/I) | | toLocaleLower() | Locale-safe lowercase (handles Turkish ı/i) | | buildGoogleFontsUrl() | Build Google Fonts URL with correct subset for locale | | PXLKIT_FONTS | Font configuration for Press Start 2P, Inter, JetBrains Mono | | TURKISH_CHARACTERS | Turkish character mapping reference |

Storybook

Every one of the 111 components is individually documented at storybook.pxlkit.xyz under the UI Kit / * sidebar. Each story has a Controls panel for live prop manipulation:

  • Surface toggle (pixel ↔ linear) on every component
  • Tone selector (7 tones)
  • Size selector (sm / md / lg)
  • Disabled / loading / variant states
  • Real animated @pxlkit icons in slots
  • Side-by-side surface comparison: Foundations / Surface / Side By Side

Turkish Locale Support

import { PxlKitLocaleProvider, usePxlKitLocale } from '@pxlkit/ui-kit';

function App() {
  return (
    <PxlKitLocaleProvider locale="tr">
      <MyComponent />
    </PxlKitLocaleProvider>
  );
}

function MyComponent() {
  const { upper } = usePxlKitLocale();
  return <span>{upper('istanbul')}</span>; // → İSTANBUL
}

Related Packages

| Package | Description | | --- | --- | | @pxlkit/core | Core rendering engine and icon components | | @pxlkit/ui | 41 UI & interface pixel art icons | | @pxlkit/gamification | 51 icons — RPG, achievements, rewards | | @pxlkit/feedback | 33 icons — alerts, status, notifications | | @pxlkit/social | 43 icons — community, emojis, messaging | | @pxlkit/weather | 36 icons — climate, moon, temperature | | @pxlkit/effects | 12 animated VFX icons | | @pxlkit/parallax | 10 multi-layer 3D parallax icons |

Documentation

Explore the full component showcase and documentation at pxlkit.xyz.

License

MIT License — code package. See the repo licensing overview for split-license scope details.

Created by Joangel De La Rosa