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

@connectycube/react-ui-kit

v1.2.0

Published

Simple React UI Kit generator with TSX/JSX

Readme

@connectycube/react-ui-kit (BETA)

Simple React UI Kit generator with TSX/JSX support

This package can be used both as a React component library and as a CLI generator to scaffold new components in your projects.


📦 Installation

npm install @connectycube/react-ui-kit

or, if using yarn:

yarn add @connectycube/react-ui-kit

⚛️ Usage as a Library

You can import pre-built UI components directly from the package:

import { LocalStream } from '@connectycube/react-ui-kit';

export function App() {
  return (
    <div className="p-4">
      ...
      <LocalStream id="my-local-stream" stream={stream} ... />
    </div>
  );
}

🛠️ Usage as a Generator (CLI)

You can generate new components in your project using the CLI:

npx @connectycube/react-ui-kit@beta add local-stream

This will:

  • Prompt prefer TypeScript or JavaScript language
  • Copy components and utilities to src/components/connectycube-ui
  • Ask to install specified dependencies if needed

📚 Available Components

Coming soon...

| Component | Description | | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | alert-dialog | gets "triggerElement" prop to call dialog with title, description, and confirm/cancel buttons | | attachment | defines a URL with mimeType to show image/video/audio/file/failed content; has onReady callback to notify about video/image size measurement is ready | | avatar | with online and presence statuses, has fallback icon/text | | badge | a badge with variants; similar to shadcn-ui badge | | button | a button with variants; the same as shadcn-ui button | | chat-bubble | includes <ChatBubbleMessage .../> that is a left/right-sided wrapper with/without avatar, with/without title, includes last sent status and time, usually obtains "attachment", "linkify-text", "link-preview" as children; and includes <ChatBubbleInfo .../> for system/information text with icon | | chat-input | auto-size textarea with onSend, onDraft, onTyping, onHeightGrow callbacks and pending state | | chat-list | from "virtua" for chat history; has file-picker wrapper for drag-and-drop files; supports quick-actions before a messaging starts; has onScrollStartReached, onScrollEndReached, onListCreate, onListGrow, onListReset callbacks; can react on the chat-input's onHeightGrow with "textareaMeasurement" prop; supports prepending batch messages with loading state | | checkbox | the same as shadcn-ui checkbox | | dialog-item | basically, it's an element for "dialog-list"; has avatar, name, last-message text, unread badge count, last message status, last message time, and visual selection | | dialog-list | from "virtua" for dialog-items; has onScrollStartReached and onScrollEndReached callbacks, loading state, and pending state with skeletons of dialog-items | | dismiss-layer | to manage the open/close state of any modal by clicking outside or pressing Esc | | file-picker | to chose accepted files, and wrapper component for drag-and-drop accepted files; has onSelectFile and onInvalidFile callbacks | | formatted-date | displays the date in a readable format; simple to use "distanceToNow" for message in chat history; supports "language" prop with English (en), Ukrainian (ua), and Greek (el) | | input | the same as shadcn-ui input | | label | the same as shadcn-ui label | | link-preview | displays favicon, title, description, and banner image; uses "thin" prop to be smaller; has onReady callback to notify about image size measurement is ready | | linkify-text | displays text with highlighted links; can display skeleton rows in pending state; switching the pending from "true" to "false" calls onReady callback | | placeholder-text | renders title or titles in rows in the center of any view; has absolute position | | presence | presence status with badge icon and label; can be 'available', 'busy', 'away', 'unknown' | | quick-actions | title, description, and an array of strings (actions display as buttons); click on any action calls onAction callback with own text | | search | a styled and animated input component with onSearch and onCancel callbacks | | spinner | animated-loader; has "loader" and "circle" types (default is "loader"); the "layout" prop (absolute/centered/overlay/flow) defines its position in a view | | status-call | define a colorized icon related to call status ('reject', 'notAnswer', 'hungUp', or 'cancel') | | status-indicator | displays colorized statuses; statuses and colors defines by config; shows tooltip on mouse over a status | | status-sent | shows message's status icon that defines from status like 'wait', 'sent', 'read', or 'lost' | | stream-view | local-stream-view, remote-stream-view and fullscreen-stream-view with pip stream | | switch | the same as shadcn-ui switch |


🧩 Contributing

See CONTRIBUTING.md for guidelines on adding new components.


💌 Questions & support

If you have questions or issues, open a GitHub Issue
or join our Discord community.

💬 Community

Want to support our team:

🪪 License

Apache 2.0