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

onebi-ui

v1.0.9

Published

OneBI UI component registry CLI

Readme

OneBI UI CLI

A robust, production-ready Node.js CLI tool inspired by shadcn/ui. It intelligently initializes your environment and allows you to fetch fully customizable, raw components directly into your source code.

🚀 Features

  • Intelligent Framework Detection: Automatically determines whether your project uses Next.js, Vite, or raw React.
  • Automatic Tailwind Setup: Checks for existing configuration and injects premium design tokens automatically.
  • Recursive Dependency Installation: Resolves and installs child components and npm packages (e.g. framer-motion, lucide-react) dynamically.
  • Localized Component Structure: Every component now includes its own localized CSS, ensuring a perfect look regardless of your global style setup.
  • TypeScript / JavaScript Fallback: Seamlessly supports both .tsx and .jsx environments.

📦 Usage

1. Initialize Project

Run this in your fresh Next.js, React, or Vite project to set up your configuration.

npx onebi-ui@latest init

2. Add a Component

npx onebi-ui@latest add button

📋 Available Components

Our library is divided into Premium (feature-rich, high-fidelity) and Standard (core building blocks) components.

💎 Premium Components

These components feature complex interactions, advanced styling, and built-in animations.

| Component | CLI Command | Usage Example | | :--- | :--- | :--- | | Navbar | add navbar | <Navbar brand={<Logo />} items={navLinks} /> | | Chips | add chips | <Chips items={tags} variant="soft" /> | | Filter Bar | add filter-bar | <FilterBar onFilter={handleFilter} /> | | Multi Select | add multi-select | <MultiSelect options={options} /> | | File Upload | add file-upload | <FileUpload onUpload={v => console.log(v)} /> | | Search Input | add search-input | <SearchInput shortcutHint="⌘K" clearable /> | | Command Palette| add command-palette| <CommandPalette groups={groups} open={isOpen} /> | | Role Selector | add role-permission-selector | <RolePermissionSelector data={roles} /> | | Text Field | add text-field | <TextField label="Email" status="error" /> | | Modal | add modal | <Modal title="Account Settings">...</Modal> |

🧱 Standard Components

Clean, accessible building blocks for any application.

  • Actions: button, badge, spinner
  • Forms: input, textarea, checkbox, radio-group, switch, select, combo-box, label, form, password-input
  • Navigation: tabs, sheet, drawer, dropdown-menu, popover, separator
  • Data: table, card, accordion, empty-state, skeleton
  • Pickers: calendar, date-picker
  • Feedback: toast, tooltip

🛠 Advanced Configuration (onebi.config.json)

Your configuration file controls where components are placed and how they are handled.

{
  "framework": "next",
  "typescript": true,
  "tailwind": true,
  "componentsPath": "src/components/ui",
  "stylesPath": "src/app/globals.css"
}

🎨 Styling & Design Tokens

When you run init, the CLI injects a set of "OneBI Design Tokens" into your CSS. Premium components rely on these variables (e.g., --color-primary, --color-surface) to maintain their high-fidelity look. All components are fully open-source—you can tweak the CSS directly in your project!


Built by OneBI.