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/ui

v6.27.1

Published

Lobe UI is an open-source UI component library for building AIGC web apps

Readme

LobeHub's open-source React component library for building AI chat and AIGC web apps.

Documents · Changelog · Report Bug · Request Feature

TOC

✨ Why Lobe UI?

Lobe UI is the React component library behind LobeHub, made for building AI chat and AIGC web apps.

  • Built for AI apps: render LLM output (Markdown, code, Mermaid diagrams, diffs, HTML previews) and ship chat interfaces without building them from scratch.
  • From landing page to admin console: one design language across chat, dashboards, data tables, forms and marketing pages.
  • Theme in one line: light and dark modes plus primary and neutral colors switch with a single attribute, with no flash on first load.
  • Easy to restyle: stable class names let you override any component with plain CSS or Tailwind.
  • Ready for global users: English and Simplified Chinese texts included.
  • AI-native docs: coding agents read every component's usage and props through skills.md and llms.txt.

🚀 Getting Started

$ pnpm add @lobehub/ui @lobehub/icons @lobehub/fluent-emoji motion

Lobe UI is ESM only and needs React 19, motion 13 or 14, @lobehub/icons 6 and @lobehub/fluent-emoji 5 as peer dependencies.

import '@lobehub/ui/theme.css';
import '@lobehub/ui/style.css';

import { Button, ConfigProvider } from '@lobehub/ui';
import { motion } from 'motion/react';

export default () => (
  <ConfigProvider motion={motion}>
    <Button type="primary">Hello AIGC</Button>
  </ConfigProvider>
);

Theming, i18n, CSS layers and framework setup are covered in the documentation. Upgrading from 5.x? v6 drops Ant Design; follow the v6 migration guide.

🤖 AI-Powered Development

Lobe UI's docs are generated for coding agents as well as people.

| Resource | What it does | | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | | skills.md | Agent skill entry point with a Markdown reference (usage, props, API) for every component | | llms.txt | Page index with outlines for llms.txt-aware tools | | v6 migration skill | npx skills add lobehub/lobe-ui: lets your agent upgrade a 5.x app | | Codemod | npx @lobehub/ui-codemod@latest v6 . --dry: rewrites v5 code and writes a JSON report agents can work through |

Paste this into Cursor, Claude Code, Codex or any other coding agent:

Read https://ui.lobehub.com/skills.md, then use @lobehub/ui to build a chat page with a message list and an input box. Only use components, props and imports documented there.

Works with Cursor, Claude Code, Windsurf, GitHub Copilot and other llms.txt-aware tools.

📦 Entry Points

| Entry | Purpose | | -------------------------------------------------------------------- | ------------------------------------------ | | @lobehub/ui | Core components, ConfigProvider, theming | | @lobehub/ui/chat, @lobehub/ui/mobile | Chat and mobile UI | | @lobehub/ui/dashboard, @lobehub/ui/pro-table, @lobehub/ui/form | Admin consoles, data tables, forms | | @lobehub/ui/awesome, @lobehub/ui/brand, @lobehub/ui/mdx | Landing pages, LobeHub brand, MDX docs | | @lobehub/ui/icons, @lobehub/ui/i18n | Platform icons, locale bundles |

📖 Documentation

💬 Community

Questions, ideas and showcases are all welcome:

⌨️ Local Development

You can use Github Codespaces for online development:

Or clone it for local development (Node.js >= 22.22 and pnpm):

$ git clone https://github.com/lobehub/lobe-ui.git
$ cd lobe-ui
$ pnpm install
$ pnpm 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


Copyright © 2023 LobeHub. This project is MIT licensed.