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

@lobehub/charts

v6.3.2

Published

React modern charts components built on recharts

Readme

Beautiful React charts for dashboards and AI benchmarks, themed with Lobe UI.

Documents · Changelog · Report Bug · Request Feature

TOC

💡 Why Lobe Charts?

Lobe Charts (@lobehub/charts) is a React chart library for dashboards and AI products, built on recharts and designed to fit Lobe UI apps.

  • Everything a dashboard needs - business charts, sparklines, heatmaps and status trackers in one package
  • Made for AI products - ready-made charts for model benchmarks and leaderboards, with your own brand icons
  • Fits your Lobe UI app - charts follow the Lobe UI theme, so they look consistent without extra styling
  • Simple, data-first props - pass an array of objects and choose which keys to plot
  • Fully typed - TypeScript types for every component
  • Agent-ready - coding agents can learn the library from skills.md and llms.txt

🚀 Getting Started

$ bun add @lobehub/charts

@lobehub/ui (v6), react and react-dom (v19) are peer dependencies; install them too if your project does not have them yet. The package is ESM only.

import { LineChart } from '@lobehub/charts';

const data = [
  { date: 'Jan 22', Inverters: 2338, SolarPanels: 2890 },
  { date: 'Feb 22', Inverters: 2103, SolarPanels: 2756 },
  { date: 'Mar 22', Inverters: 2194, SolarPanels: 3322 },
];

// `index` is the x-axis key, `categories` are the series to plot
export default () => (
  <LineChart categories={['SolarPanels', 'Inverters']} data={data} index="date" />
);

See the documents for every component, live demos and props.

🤖 AI-Powered Development

Lobe Charts publishes agent-readable docs, generated from the same source as the documentation site.

| Resource | What it is | How to use it | | ---------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | | Agent Skill - skills.md | Skill entry point: setup, a recommended workflow and an index of every component page | Give the URL to your agent (Cursor, Claude Code, Codex, ...), or save it as a SKILL.md in your agent's skills folder | | llms.txt - llms.txt | llms.txt index of every docs page | Point any llms.txt-aware tool at it | | Component reference - https://charts.lobehub.com/skills/components/<name>.md | Markdown page for one component, e.g. line-chart.md | Fetch it before writing code with that component |

Works with Cursor, Claude Code, Codex, Windsurf, GitHub Copilot and any tool that can read a URL or llms.txt. Copy-paste prompt:

Use @lobehub/charts. Read https://charts.lobehub.com/skills.md first,
then fetch the reference page of each component you use before writing code.

[!NOTE]
There is no MCP server or skill install CLI yet; skills.md and llms.txt are the agent entry points.

📖 Documentation

  • Docs & live demos: charts.lobehub.com - line, area, bar, composed, donut / pie, funnel, scatter, radar, sparklines, heatmaps, trackers, benchmark charts and more
  • Changelog: CHANGELOG.md

⌨️ Local Development

$ git clone https://github.com/lobehub/lobe-charts.git
$ cd lobe-charts
$ bun install
$ bun start

🤝 Contributing

Contributions of all types are more than welcome, if you are interested in contributing code, feel free to check out our GitHub Issues to get stuck in to show us what you’re made of.

🩷 Sponsor

Every bit counts and your one-time donation sparkles in our galaxy of support! You're a shooting star, making a swift and bright impact on our journey. Thank you for believing in us – your generosity guides us toward our mission, one brilliant flash at a time.

🔗 Links

Credits


Copyright © 2023 LobeHub. This project is MIT licensed.