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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@prompt-or-die/tech-ui

v0.0.1

Published

Professional UI template suite for modern, agentic, and game-inspired interfaces. strictly typed and production-ready.

Readme

@prompt-or-die/tech-ui

Professional UI Template Suite for modern, agentic, and game-inspired interfaces. Strictly typed, production-ready, and designed for the Agentic Age.

Version License TypeScript Tailwind

🚀 Overview

@prompt-or-die/tech-ui is a comprehensive UI library that bridges the gap between functional utility and cyberpunk aesthetics. It provides a "plug-and-play" experience for building:

  • Agentic Workflows: Interfaces for AI Agents, streaming tokens, and thought processes.
  • Game UIs: HUDs, Radars, and immersive dashboards.
  • Modern Web Apps: Glassmorphism, high-density data grids, and strict design systems.

Key Features:

  • Strict Typing: Zero any types. Full TypeScript support.
  • Theming: Unified design system based on standard primitives.
  • Modular: Use standard components or deep-dive into complex specialized templates.

📦 Installation

Install the package via your preferred package manager:

npm install @prompt-or-die/tech-ui clsx tailwind-merge framer-motion lucide-react
# or
bun add @prompt-or-die/tech-ui clsx tailwind-merge framer-motion lucide-react

Peer Dependencies

Ensure you have React 18+ and Tailwind CSS 3.4+ installed in your project.


🛠️ Setup

  1. Tailwind Configuration: Add the library's content path to your tailwind.config.ts:

    export default {
      content: [
        "./node_modules/@prompt-or-die/tech-ui/dist/**/*.{js,ts,jsx,tsx}",
        // ... your other paths
      ],
      // ...
    };
  2. Global Styles: Import the base styles in your root layout or globals.css: (Note: If copying components manually, ensure you have the globals.css theme variables set)


🧩 Templates & Layouts

We provide full-page layouts ready for immediate use. Just wire up your data.

🤖 AI & Agentic

  • TechChatLayout: A complete ChatGPT-like interface with sidebar history, streaming responses, and input handling.
  • TechAgentWorkbench: A multi-pane IDE for AI agents. Visualizes thought chains (TechThoughtChain), file contexts (TechTree), and execution logs.

🎮 Game & Immersive

  • TechGameHUD: Floating heads-up display with biometric scanners (TechBiometrics), radar (TechRadar), and weapon slots.
  • TechGenGameLayout: A text-adventure engine layout with scene visualization (TechHoloProjector) and narrative streams.

🏢 Application

  • TechAdminLayout: Professional sidebar-driven shell with command palette integration.
  • TechDashboardLayout: Widget-based grid system for dense metrics.
  • TechSettingsLayout: Tabbed configuration screens.
  • TechLandingLayout: High-conversion landing page components.

🧱 Component Library

Primitives (The Atoms)

  • Controls: TechButton, TechInput, TechSwitch, TechCheckbox, TechRadio, TechSelect
  • Containers: TechCard, TechFrame, TechPanel, TechModal, TechGlassPanel
  • Status: TechBadge, TechToast, TechTooltip, StatBar

Data Visualization

  • Charts: TechChart (Line/Area), TechDonut (Radial Progress)
  • Complex: TechRadar (Spatial), TechTree (Hierarchy), TechNeuralMesh (Graph), TechPhaseBar (Timeline)
  • Metrics: TechMetric (KPIs), TechGrid (Data Tables), KVDisplay (Debug)

Specialized

  • Agentic: TechTokenStream (LLM Output), TechThoughtChain (Reasoning), TechCommandPalette (Omnibar)
  • Visuals: TechGlitchText, TechCircuit, TechGeometry, TechLiquidPanel

💻 Usage Example

import { TechCard, TechMetric, TechButton } from "@prompt-or-die/tech-ui";

export default function SystemMonitor() {
  return (
    <TechCard className="w-96 p-6 border-primary/50">
      <div className="flex justify-between items-center mb-6">
        <h2 className="font-mono text-lg text-primary">CORE_SYSTEMS</h2>
        <div className="animate-pulse w-2 h-2 bg-green-500 rounded-full" />
      </div>

      <div className="space-y-4">
        <TechMetric label="CPU_LOAD" value="84%" status="warning" />
        <TechMetric label="MEMORY" value="12.4GB" status="success" />
        <TechMetric label="NETWORK" value="450Mbps" status="info" />
      </div>

      <TechButton className="w-full mt-6" variant="primary">
        INITIATE_DIAGNOSTIC
      </TechButton>
    </TechCard>
  );
}

👨‍💻 Author

dexploarer

📄 License

MIT © Prompt-or-Die