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

@kivacore/bklit

v0.1.0

Published

Composable Bklit web charts, layers and React hooks

Readme

@kivacore/bklit

Composable React charts from Bklit UI, packaged as ESM with TypeScript declarations. Import the documented primitives from @kivacore/bklit or @kivacore/bklit/charts. Each web registry item also has its own import path, such as @kivacore/bklit/line-chart, @kivacore/bklit/sparkline, and @kivacore/bklit/legend.

Install

pnpm add @kivacore/bklit react react-dom

In your Tailwind CSS v4 entry stylesheet, import the chart theme after Tailwind and your app theme. The stylesheet registers the distributed chart files for utility generation and supplies light and dark palettes. Tooltips pick up your shadcn popover colors when available and use the chart palette otherwise.

@import "tailwindcss";
@import "@kivacore/bklit/css";

Example

Components imported from the root and individual entry points can be composed together.

import { ChartTooltip, Grid, XAxis } from '@kivacore/bklit';
import { Line, LineChart } from '@kivacore/bklit/line-chart';

const data = [
  { date: new Date('2026-01-01'), visits: 120 },
  { date: new Date('2026-01-02'), visits: 180 },
  { date: new Date('2026-01-03'), visits: 145 },
];

export function VisitsChart() {
  return (
    <LineChart data={data} style={{ height: 280 }}>
      <Grid horizontal />
      <Line dataKey="visits" />
      <XAxis />
      <ChartTooltip />
    </LineChart>
  );
}

See the component catalog for chart families, props and examples. The theming guide covers palette overrides.

TypeScript compatibility. If you check dependency declarations and see a MotionStyle.pathLength conflict with Motion 12 and [email protected], pin csstype to 3.2.3 in your app's package manager overrides. This is the version used by this workspace and upstream Bklit.

Single HTML example with Preact

Open Countries by region in the Country Atlas example. Its native import map loads the packaged pie-chart entry and shares one Preact runtime with shadcn. Search for a country to update the chart.

Serve the HTML as written with any static HTTP server. From the monorepo root, python3 -m http.server 48765 --bind 127.0.0.1 --directory examples/mini-app serves it at http://127.0.0.1:48765/index.html.

Maintaining the package

The source comes from the MIT-licensed web chart library in bklit/bklit-ui. The package includes Bklit's MIT notice and the visx pattern notice in dist/.

From the monorepo root, run pnpm bklit:sync to regenerate the sources and entry points. To update upstream, change the commit in scripts/sync-bklit.mts, review dependency changes in upstream's packages/ui/package.json, then sync and build. A normal package build uses the checked-in sources.

pnpm --filter @kivacore/bklit build
pnpm --filter @kivacore/bklit pack