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

@0xhoneyjar/quests-ui

v0.1.2

Published

Unstyled React primitives for quest UIs — slot-based composition, zero CSS, zero design tokens. Consumers (cubquests-dashboard · per-world bots · future Farcaster Mini App) ship their own skin. Per Cycle Q SDD §6 + PRD D2 anti-pattern guard.

Readme

@0xhoneyjar/quests-ui — unstyled React primitives

5 slot-based React primitives for quest UIs. Shape, not chrome — every consumer (cubquests-dashboard, per-world bots, future Farcaster Mini App) ships its own skin atop these primitives.

Cycle Q P1 SCAFFOLD (2026-05-04) — primitives compile cleanly, zero CSS shipped, zero design tokens. Per Cycle Q SDD §6 + PRD D2.

Anti-pattern guard: NEVER ship a default skin

This package ships SHAPE not CHROME. If you find yourself wanting to add a default Tailwind class, a CSS module, a style={...} block, or a "starter theme" — STOP. Each consumer (cubquests-dashboard, per-world bots, future Farcaster Mini App) ships its own skin. A "default skin" becomes the only one used in practice, breaks the unstyled contract, and locks visual register at the wrong layer.

Per [[freeside-modules-as-installables]] §"What goes into a module's packages/protocol/": presentation chrome belongs at the consumer; primitives belong in the module.

Test guard: __tests__/component-isolation.test.tsx greps the package source for any .css import or style= attribute and FAILS the build if found.

Components (slot-based composition)

| Component | Purpose | Slot pattern | |---|---|---| | <QuestCard> | Compact quest representation | Title · Description · Reward · Actions slots | | <QuestDetailEmbed> | Single-quest detail view | Header · Body · Footer · Actions slots | | <BadgeShowcase> | Badge artifact rendering · layout-only | BadgeShowcase.Item compound pattern | | <ProgressTracker> | QuestState phase visualizer · phase pills | Phase slot for per-phase render | | <VerdictReveal> | Curator-narrative reveal · phase-callbacks | children + onPhaseEnter callbacks |

Composition examples (illustrative · NOT shipped)

// cubquests-dashboard (Tailwind skin)
import { QuestCard } from "@0xhoneyjar/quests-ui";
<QuestCard
  quest={quest}
  Title={({ quest }) => <h2 className="text-2xl font-bold">{quest.title}</h2>}
  Description={({ quest }) => <p className="text-gray-600">{quest.prompt}</p>}
  Reward={({ badge_spec }) => <BadgeChip name={badge_spec.display_name} />}
  Actions={({ onAccept }) => <button className="btn-primary" onClick={onAccept}>Accept</button>}
/>

// per-world bot (server-side render · zero React runtime)
// uses @0xhoneyjar/quests-discord-renderer · NOT @0xhoneyjar/quests-ui · this is the boundary

// future Farcaster Mini App (Vite skin)
import { QuestCard } from "@0xhoneyjar/quests-ui";
<QuestCard quest={quest} Title={MyTitle} Description={MyDescription} ... />

What's NOT here

  • World-specific quest CONTENT renderers (each world's quest detail page is its own app code)
  • Operator-facing dashboard chrome (stays in consumer apps)
  • Auth wires (each world's Identity Component handles auth)
  • Discord rendering (use @0xhoneyjar/quests-discord-renderer — different boundary, different transport)
  • CSS / Tailwind / styled-components / design tokens (anti-pattern guard above)

Consumers (planned · post-Cycle Q)

  • cubquests-dashboard/ — operator surface
  • freeside-characters/apps/character-mongolian/ — per-world bot (uses discord-renderer · NOT this pkg)
  • Future world apps (Purupuru Year 2, Honey Port, Mibera quest UI) — install + skin

Doctrine references

  • [[freeside-modules-as-installables]] — sealed schemas + typed ports + presentation belongs at consumer
  • [[chat-medium-presentation-boundary]] — discord-renderer is a SIBLING boundary, not this package's concern
  • Cycle Q SDD §6 — sealed component contracts + slot pattern
  • Cycle Q PRD D2 — anti-pattern guard rationale