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

@hexdeck/dashboard-ui

v0.1.6

Published

Shared dashboard UI components for Hexdeck

Readme

@hexdeck/dashboard-ui

Shared React UI components and types for building the Hexdeck dashboard experience.

Install

npm install @hexdeck/dashboard-ui

Peer dependencies:

  • react ^18 || ^19
  • react-dom ^18 || ^19

What this package provides

  • Dashboard components (TopBar, AgentCard, WorkstreamNode, FeedItem, PlanDetail, RiskPanel, etc.)
  • Shared dashboard data types (DashboardState, Agent, Workstream, FeedEvent, etc.)
  • Operator context (OperatorProvider, useOperators)
  • Tailwind preset (@hexdeck/dashboard-ui/tailwind-preset)
  • Utility helpers (timeAgo, formatDuration)

Tailwind setup

Add the preset:

// tailwind.config.ts
import pylonPreset from "@hexdeck/dashboard-ui/tailwind-preset";

export default {
  presets: [pylonPreset],
  content: [
    "./src/**/*.{ts,tsx}",
    "./node_modules/@hexdeck/dashboard-ui/dist/**/*.{js,mjs}",
  ],
};

Theme variables

Components use CSS variables for theme tokens. Define them in your global stylesheet:

:root {
  --dash-bg: #080b12;
  --dash-surface: #0f1320;
  --dash-surface-2: #141a2a;
  --dash-surface-3: #1a2236;
  --dash-border: #20283d;
  --dash-border-light: #2b3550;
  --dash-text: #d8dce7;
  --dash-text-dim: #9ba4bd;
  --dash-text-muted: #737d98;
  --dash-green: #00e87b;
  --dash-green-dim: #00e87b33;
  --dash-red: #ff4d6a;
  --dash-red-dim: #ff4d6a33;
  --dash-yellow: #ffc44d;
  --dash-yellow-dim: #ffc44d33;
  --dash-blue: #4d9fff;
  --dash-blue-dim: #4d9fff33;
  --dash-purple: #b88cff;
  --dash-purple-dim: #b88cff33;
}

Basic usage

import {
  OperatorProvider,
  TopBar,
  AgentCard,
  type DashboardState,
} from "@hexdeck/dashboard-ui";

export function Dashboard({ state }: { state: DashboardState }) {
  return (
    <OperatorProvider operators={state.operators}>
      <TopBar summary={state.summary} operators={state.operators} />
      <div>
        {state.workstreams.map((ws) => (
          <AgentCard key={ws.projectId} workstream={ws} />
        ))}
      </div>
    </OperatorProvider>
  );
}

Exports

Primary component exports:

  • TopBar, RelayPanel, PanelHeader
  • AgentPip, OperatorTag, AgentCard, WorkstreamNode
  • FeedItem, CollisionDetail, PlanDetail, RiskPanel
  • ProgressBar, DeviationItem

Other exports:

  • OperatorProvider, useOperators
  • timeAgo, formatDuration
  • Dashboard and relay types from @hexdeck/dashboard-ui
  • Tailwind preset from @hexdeck/dashboard-ui/tailwind-preset