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

@baotek/kubo-ui

v0.4.0

Published

Readme

@baotek/kubo-ui

Component library for Kubo back-office apps. Pure React components, Tailwind v4 + radix-ui + shadcn conventions (style: "new-york"), light/dark theme via CSS variables. No dependency on @baotek/kubo-core, no router import - components that render navigation (Button's to prop, Breadcrumb, StatCard) read a router-agnostic link component via context instead, defaulting to a plain <a href>.

Install

pnpm add @baotek/kubo-ui

Import the stylesheet once, alongside Tailwind, in your app's global CSS:

@import 'tailwindcss';
@import '@baotek/kubo-ui/dist/index.css';

What's in it

  • Primitives - Button, TextField, SelectField, MultiSelectField, DateField, NumberField, CheckboxField, SearchSelect, StatusSelect, Badge, Avatar, Spinner, Skeleton, ProgressBar, DangerLink, and more.
  • Composites - DataTable, FilterBar, Pagination, Modal, SlideOver, ConfirmDialog, PageActionBar, Breadcrumb, EmptyState, ErrorBanner, StatCard, SegmentedTabs, TabStrip, Cascader, TreeSelect, Transfer, RichTextField, and more.
  • Theme - ThemeProvider, useTheme, ThemeToggle, light/dark via CSS variables.
  • Router integration - LinkComponentProvider + useLinkComponent, override once with your app's own Link (react-router-dom's Link works directly; Next's Link needs a small to-to-href wrapper since its prop name differs).

Browse every component's stories and props with Storybook - clone the Kubo monorepo and run pnpm --filter @baotek/kubo-ui storybook.

NumberField keeps the controlled value as a raw numeric string and can format it for display:

<NumberField label="Budget" value={amount} onChange={setAmount} format="money" currency="USD" />
<NumberField label="Discount" value={discount} onChange={setDiscount} format="percentage" min={0} max={100} />

For a domain-specific format, pass an object with format and parse functions. MoneyField and PercentageField remain available as compatibility wrappers around these NumberField formats.

Usage

import { ThemeProvider, LinkComponentProvider, Button } from '@baotek/kubo-ui'
import { Link } from 'react-router-dom'

function App() {
  return (
    <ThemeProvider>
      <LinkComponentProvider component={Link}>
        <Button to="/orders">View orders</Button>
      </LinkComponentProvider>
    </ThemeProvider>
  )
}

Pairs with @baotek/kubo-core for the headless data/auth layer. Both are scaffolded automatically into new apps by Kubo's kubo-init-app agent skill.

Source: https://github.com/baotek/kubo.git (packages/ui).