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

@pandelis/openui

v0.1.0

Published

Shadcn-compatible OpenAI and ChatGPT UI components, theme tokens, and registry artifacts.

Readme

OpenUI

Shadcn-compatible React components for ChatGPT-style interfaces.

OpenUI ships in two forms:

  • An npm package: @pandelis/openui
  • A shadcn registry artifact for source-owned installs

The component set includes the ChatGPT shell, sidebar, header, composer, messages UI, login screen, settings dialog, command palette, and OpenAI-like theme tokens.

Install From npm

npm install @pandelis/openui

Import the compiled styles once:

import "@pandelis/openui/styles.css";

Use the composed app:

import { ChatGPTApp } from "@pandelis/openui";

export default function Page() {
  return <ChatGPTApp />;
}

Or compose individual surfaces:

import {
  ChatGPTComposer,
  ChatGPTHeader,
  ChatGPTShell,
  ChatGPTSidebar,
  ChatGPTThread,
} from "@pandelis/openui";

Install Into shadcn

After publishing to npm, the registry files are available through npm CDNs.

Install the full ChatGPT component set into an existing shadcn project:

npx shadcn@latest add https://unpkg.com/@pandelis/openui@latest/r/openui-chatgpt.json

Install only the theme tokens:

npx shadcn@latest add https://unpkg.com/@pandelis/openui@latest/r/openui-theme.json

The generated registry artifacts are written to r/ by:

npm run registry:build

Component Coverage

  • Chat shell with collapsible desktop sidebar
  • Current ChatGPT-style sidebar: new chat, search, images, apps, Codex, grouped history, account row
  • Header with ChatGPT model dropdown, share/menu controls, and sync status state
  • Centered home state with compact composer and bottom disclaimer
  • Composer with attachment/tools menu, clickable response-mode dropdown, disabled/send states
  • Full messages UI: user turns, assistant turns, system separators, structured response blocks, code blocks, tool cards, source chips, attachment previews, response action bar, skeleton thinking state
  • Login/get-started screen matching the public ChatGPT layout
  • Settings dialog with tabs, fields, switches, data/security surfaces

Development

npm install
npm run dev -- --port 5173
npm run build

Useful scripts:

npm run typecheck
npm run build:demo
npm run build:lib
npm run registry:build
npm run pack:dry-run

Documentation

Package Contents

  • dist/ compiled ESM package and declarations
  • dist/styles.css compiled OpenUI styles
  • r/openui-chatgpt.json shadcn registry item
  • r/openui-theme.json shadcn theme item
  • registry.json source registry manifest

License

MIT