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

baseui-cn

v1.0.3

Published

Add Base UI components to your app — one command at a time.

Downloads

118

Readme

baseui-cn

Add Base UI components to your app, one command at a time.

Tailwind-styled components built exclusively on Base UI primitives. No Radix. No Vaul. One primitive layer.

Quick start

npx baseui-cn init
npx baseui-cn add button

Commands

init

Set up your project. This installs required dependencies, creates lib/utils.ts, and injects theme variables into the stylesheet you choose during setup.

npx baseui-cn init
npx baseui-cn init --css src/styles.css

add

Add one or more installables. If the project is not initialized yet, add will run init first. When a component already exists, baseui-cn can replace it interactively or you can force replacement with --overwrite.

npx baseui-cn add button
npx baseui-cn add button --css src/styles.css
npx baseui-cn add button input select
npx baseui-cn add button --overwrite
npx baseui-cn add --all

update

Refresh existing installed components to the latest registry versions.

npx baseui-cn update button
npx baseui-cn update data-grid command
npx baseui-cn update --all

list

List every currently supported installable in the registry.

npx baseui-cn list
npx baseui-cn list --json

Available installables

Display: button, badge, avatar, card, item, separator, scroll-area, skeleton, spinner, progress, toggle, toggle-group

Form: input, textarea, label, field, checkbox, switch, radio-group, select, combobox, autocomplete, slider, number-field, otp-field, input-group

Overlays: dialog, alert-dialog, drawer, popover, tooltip, preview-card, dropdown-menu, toast, command

Layout: collapsible, accordion, tabs

Navigation & Data: table, breadcrumb, pagination, menubar, navigation-menu

Blocks: empty-state, login, signup

empty-state is installed into components/ui/blocks.tsx.

login and signup are installed into components/ui/auth.tsx.

Requirements

  • React 18+
  • Tailwind CSS v4
  • Next.js 13+ (App Router recommended) or any React framework

Docs

https://baseui-cn.com