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

@swarmify/harness-ui

v0.2.2

Published

Universal React generative UI system for AI agents. Schema-validated components that work in CSR, SSR, RSC, Electron, and React Native.

Readme

harness-ui

Universal React generative UI system for AI agents.

npm

Installation

bun add @swarmify/harness-ui

Peer dependencies: react >= 18.0.0

Tailwind CSS (required)

// tailwind.config.js
module.exports = {
  content: [
    './src/**/*.{js,ts,jsx,tsx}',
    './node_modules/harness-ui/src/**/*.{js,ts,jsx,tsx}',
  ],
}

What makes harness-ui different

  • Dual-path action routing — sync actions execute tools directly; agent actions route to LLM reasoning
  • Universal React — works in CSR, SSR, RSC, Electron, React Native
  • Schema-first — Zod schemas validate LLM output before render
  • Registry pattern — LLM outputs component names, client renders from registry
  • MCP discovery — components auto-exposed to LLM as tools
  • Bandwidth efficient — JSON payloads (~50 bytes), not streamed components

Quick Start

import { getComponent } from '@swarmify/harness-ui';

const Component = getComponent(llmOutput.component);
if (Component) {
  return <Component {...llmOutput.props} onAction={handleAction} />;
}

Documentation

| Doc | Content | |-----|---------| | 01-component-system | Registry, schemas, catalog, authoring best practices | | 02-action-routing | Dual-path actions, sync vs agent, rendering models, protocol comparison | | 03-design-language | Colors, typography, animations, card rules, accessibility | | 04-infrastructure | MCP server, streaming, host integration, themes |

Components

60+ components across 8 categories:

| Category | Count | Examples | |----------|-------|---------| | Core | 25 | email_card, ask_permission, collect_form_data, review_artifacts | | Data Display | 3 | chart_card, table_card, link_card | | Domain | 14 | event_card, contact_card, twitter_post, places_map | | Animation | 4 | fade_in, stagger, pulse, shimmer | | Healthcare | 6 | patient_card, vitals_metric, prescription_card | | Legal | 6 | case_card, court_date_card, contract_summary | | Finance | 3 | stock_card, earnings_card, financials_table |