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

@vxnus/ui-game

v0.1.0

Published

Themeable game UI and chrome components for VXNUS game knowledge bases

Readme

@vxnus/ui-game

Shared UI package for game knowledge base and data exploration applications (e.g. e-teyvat, e-schale).

What's included

1. Components

  • Topbar: Sticky top navigation bar with brand mark, title, subtext, and live knowledge base status pill.
  • Sidebar: Desktop rail navigation with animated tooltips and active route indicators.
  • MobileBottomNav: Mobile bottom bar and expandable overlay drawer sheet.
  • DatabaseShell: Standardized database section header layout with eyebrow, title, and description.
  • EntityExplorer: Searchable and paginated entity catalog with rarity badges, category pills, mobile-optimized pagination, and responsive grid.
  • KnowledgeConsole: Multi-hop entity and farming relation graph console.
  • KnowledgeStatus: Auto-polling service telemetry pill for /api/health.
  • Icon / BrandMark: Canonical SVG icon system and brand marks.

2. Styling & Theme Tokens

All components use CSS variables for theming so each game can brand itself with custom color tokens:

:root {
  --bg: #0a110f;             /* Background base */
  --surface: #111c18;        /* Surface base */
  --surface-2: #16231e;      /* Elevated surface */
  --surface-3: #1a2b24;      /* Deep surface */
  --surface-sunken: #0c1512; /* Inset/sunken backgrounds */
  --surface-raised: #182821; /* Card backgrounds */
  --line: rgba(190, 220, 205, 0.1);
  --line-strong: rgba(190, 220, 205, 0.17);
  --text: #eff7f3;
  --text-light: #f5faf7;
  --text-2: #a1b3aa;
  --text-3: #667970;
  --text-muted: #738a7f;
  --green: #62d5a3;          /* Main game accent */
  --green-2: #9aebc7;        /* Secondary game accent */
  --gold: #e2b96a;           /* Highlight / 5-star gold */
  --accent: #62d5a3;
  --radius: 11px;
}

Quick Start for a New Game (e.g., E-Schale)

import {
  Topbar,
  Sidebar,
  MobileBottomNav,
  EntityExplorer,
  type NavItem,
  type DrawerSection,
} from "@vxnus/ui-game";
import "@vxnus/ui-game/styles.css";

const schaleNavigation: NavItem[] = [
  { label: "Home", icon: "home", href: "/" },
  { label: "Students", icon: "users", href: "/database/students/" },
  { label: "Weapons", icon: "sword", href: "/database/weapons/" },
  { label: "Banners", icon: "calendar", href: "/database/banners/" },
  { label: "Knowledge", icon: "quest", href: "/knowledge/" },
];

export function Layout({ children }: { children: React.ReactNode }) {
  return (
    <div className="site-shell">
      <Topbar
        brandName="E-Schale"
        brandSubtext="by VXNUS"
        homeHref="/"
      />
      <Sidebar items={schaleNavigation} />
      <main className="main-content">
        <div className="content-wrap">{children}</div>
      </main>
      <MobileBottomNav
        primaryItems={schaleNavigation.slice(0, 4)}
        drawerSections={schaleDrawerSections}
        drawerTitle="E-Schale Directory"
      />
    </div>
  );
}