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

@kumix/ui

v0.1.3

Published

Headless, accessible React component library built on Radix UI, Tailwind, and more.

Readme

@kumix/ui

Headless, accessible React component library for Kumix products. Built on Radix UI, Tailwind CSS utilities, CVA, and related headless UI primitives.

What's Inside

  • 90+ UI components: form controls, overlays, navigation, data display, DataGrid, Kanban, Sortable, and more.
  • Charts: Chart components built on Recharts, with theme-aware colors, tooltips, and legends.
  • Messaging: Message, Bubble, Attachment, and MessageScroller primitives for chat and AI interfaces.
  • Input building blocks: Combobox, InputGroup, NativeSelect, and Marker, plus a DirectionProvider for RTL/LTR support.
  • Hooks entry: viewport, media query, copy-to-clipboard, file upload, intersection observer, mutation observer, and related utilities.
  • Animation components: marquee, text effects, counting/sliding numbers, animated backgrounds, avatar groups, and more.
  • Tailwind-friendly styling via utility classes, semantic CSS variables, and data-slot attributes.
  • ESM-only build with generated TypeScript declarations.

Install

bun add @kumix/ui

Install peer dependencies required by the components you use. Common peers include:

bun add @kumix/utils class-variance-authority lucide-react radix-ui react

Feature-specific components may also require @base-ui/react, recharts, @tanstack/react-table, @dnd-kit/*, cmdk, motion, react-day-picker, react-aria-components, react-hook-form, react-resizable-panels, sonner, vaul, input-otp, embla-carousel-react, next-themes, or @headless-tree/core.

See package.json for exact peer dependency ranges.

Usage

import { Button, Card, CardContent, CardHeader, CardTitle } from "@kumix/ui";
import "@kumix/ui/css";

export function Example() {
  return (
    <Card>
      <CardHeader>
        <CardTitle>Kumix UI</CardTitle>
      </CardHeader>
      <CardContent>
        <Button>Continue</Button>
      </CardContent>
    </Card>
  );
}

Hooks are available from the hooks entry:

import { useMediaQuery, useViewport } from "@kumix/ui/hooks";

Package Entries

| Entry | Description | | ---------------------- | --------------------------------------------------------------- | | @kumix/ui | React components | | @kumix/ui/hooks | Standalone hooks | | @kumix/ui/css | Full stylesheet (theme + tokens), emitted as dist/style.css | | @kumix/ui/css/source | Tailwind @source directive only, emitted as dist/source.css |

Styling

Components use Tailwind utility classes and semantic CSS variables, such as --color-background, --color-foreground, --color-primary, --color-border, and related tokens.

There are two CSS entries depending on your setup:

  • @kumix/ui/css emits the full package stylesheet from src/style.css. It bundles the theme tokens (:root/.dark variables), the @theme inline mappings, animations, and base styles. Import it once in your app if you want the complete Kumix theme out of the box.
  • @kumix/ui/css/source emits src/source.css, which contains only the Tailwind @source "." directive. Import it in your own Tailwind v4 stylesheet when you already define your own theme and just need Tailwind to scan the compiled component classes shipped in dist.
/* Your app stylesheet, Tailwind v4 */
@import "tailwindcss";
@import "@kumix/ui/css/source";

Every component exposes data-slot attributes for targeted styling, for example data-slot="button" and data-slot="card".

DataGrid Example

import {
  DataGrid,
  DataGridColumnHeader,
  DataGridContainer,
  DataGridPagination,
  DataGridTable,
} from "@kumix/ui";
import {
  getCoreRowModel,
  getPaginationRowModel,
  useReactTable,
} from "@tanstack/react-table";

const table = useReactTable({
  columns,
  data,
  getCoreRowModel: getCoreRowModel(),
  getPaginationRowModel: getPaginationRowModel(),
});

export function UsersTable() {
  return (
    <DataGrid table={table} recordCount={data.length}>
      <DataGridContainer>
        <DataGridTable />
        <DataGridPagination />
      </DataGridContainer>
    </DataGrid>
  );
}

DataGrid supports TanStack Table composition, pagination, column visibility, column pinning, resizing, skeleton/spinner loading modes, expandable rows, and optional drag-and-drop table variants.

Development

bun run build --filter=@kumix/ui
bun run types:check --filter=@kumix/ui
bun run test --filter=@kumix/ui
bun run test:coverage --filter=@kumix/ui

The build emits ESM JavaScript, TypeScript declarations, and CSS output. Package validation uses Are The Types Wrong and publint.

License

MIT - see LICENSE.