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

bakerui

v0.5.0

Published

A small, longevity-focused React component library themed with CSS variables.

Downloads

923

Readme

bakerui

A small, longevity-focused React component library themed with plain CSS variables. No theme objects, no providers required, no CSS-in-JS runtime.

npm version bundle size types license React 18+ Built with Claude

Live demo → bakerheit.github.io/bakerui


Why

  • Tokens, not theme objects. Override --bui-color-accent on :root (or any element) and every component picks it up.
  • No runtime style engine. Plain CSS — no Emotion, no styled-components, no Tailwind config. Fewer moving parts to break across React majors.
  • Composable primitives. Components forward refs, accept className, and never trap you in a styling scheme.
  • Light + dark out of the box. Toggle via [data-theme]. Any token can be scoped per element.
  • Zero runtime dependencies. Just React.

Install

npm install bakerui

Peer-deps: react and react-dom (>= 18).

Usage

import { Button, ThemeProvider } from "bakerui";
import "bakerui/styles.css";

export default function App() {
  return (
    <ThemeProvider defaultTheme="light">
      <Button>Hello world</Button>
    </ThemeProvider>
  );
}

That's it. The styles.css import wires up the design tokens and component styles.

Theming

Override any token at any scope — global, per-section, or per-element:

:root {
  --bui-color-accent: #ff5722;
  --bui-radius-md: 12px;
}

Or pass tokens into ThemeProvider:

<ThemeProvider tokens={{ "--bui-color-accent": "#ff5722" }}>
  {/* ... */}
</ThemeProvider>

Switch between light and dark by setting data-theme on any element:

<ThemeProvider defaultTheme="dark">{/* ... */}</ThemeProvider>

You can also expose just the design tokens (without the component CSS) via:

import "bakerui/tokens.css";

Components

Inputs & forms

Button · Input · Textarea · Field · Checkbox · RadioGroup · Select · Combobox · DatePicker · Slider · Toggle

Layout

Stack · HStack · VStack · Card · Divider

Navigation

Tabs · Breadcrumb · Stepper · Sidebar · Topbar · Pagination

Data

DataTable · Avatar · AvatarGroup · Badge

Overlays

Dialog · Drawer · Popover · Tooltip · DropdownMenu

Feedback

Alert · Toast · Spinner · Skeleton · ProgressBar

Disclosure

Accordion

Tokens

Every visual aspect of every component maps to a CSS custom property prefixed with --bui-:

| Group | Examples | | ------------ | ----------------------------------------------------------- | | Color | --bui-color-accent, --bui-color-text, --bui-color-bg | | Spacing | --bui-space-1 through --bui-space-16 | | Radius | --bui-radius-sm, --bui-radius-md, --bui-radius-lg | | Typography | --bui-font-family, --bui-font-size-sm, --bui-font-weight-medium | | Motion | --bui-duration-fast, --bui-easing-standard | | Layering | --bui-z-modal, --bui-z-popover, --bui-z-tooltip | | Shadows | --bui-shadow-sm, --bui-shadow-md, --bui-shadow-lg |

The full list lives in src/styles/tokens.css.

Browser support

Modern evergreen browsers (last 2 versions of Chrome, Edge, Firefox, Safari). The library uses color-mix() and CSS custom properties — anything that supports those works.

Development

git clone https://github.com/bakerheit/bakerui.git
cd bakerui
npm install
npm run build       # builds the library
npm run demo        # runs the demo site at localhost:5173

License

MIT © bakerheit