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

@aozi6666/bee-design

v0.3.1

Published

React UI component library (TypeScript): Button, Menu, Input, Upload, AutoComplete, Icon, Progress, Transition — ESM/CJS/UMD + CSS.

Readme

@aozi6666/bee-design

A React UI component library written in TypeScript. It ships ESM, CommonJS, and UMD builds plus a single compiled CSS entry for quick integration.

npm version TypeScript

Features

  • React 18 / 19 as peer dependencies
  • Tree-friendly named exports
  • Font Awesome-based Icon with a one-time setupIcons() registration
  • Compound Menu API (Menu.Item, Menu.SubMenu)
  • Styles distributed as @aozi6666/bee-design/style.css

Installation

npm install @aozi6666/bee-design
pnpm add @aozi6666/bee-design
yarn add @aozi6666/bee-design

Peer dependencies

Install React in your app (versions 18 or 19):

npm install react react-dom

The package also depends on runtime libraries such as axios, classnames, lodash, and react-transition-group; they are installed automatically with the package. Icons use Font Awesome packages listed in dependencies.

Quick start

1. Import styles once

In your app entry (e.g. main.tsx or App.tsx):

import "@aozi6666/bee-design/style.css";

2. Register Font Awesome icons (recommended)

Call setupIcons() once at startup so Icon can resolve solid icons from @fortawesome/free-solid-svg-icons:

import { setupIcons } from "@aozi6666/bee-design";

setupIcons();

3. Use components

import {
  Button,
  Input,
  Menu,
  AutoComplete,
  Icon,
  Progress,
  Transition,
  Upload,
} from "@aozi6666/bee-design";

function App() {
  return (
    <>
      <Button btnType="primary" size="lg">
        Primary
      </Button>

      <Menu defaultIndex="0" mode="horizontal" onSelect={(index) => console.log(index)}>
        <Menu.Item index="0">Home</Menu.Item>
        <Menu.SubMenu title="Products">
          <Menu.Item index="2-1">Item A</Menu.Item>
          <Menu.Item index="2-2">Item B</Menu.Item>
        </Menu.SubMenu>
      </Menu>
    </>
  );
}

Exports

| Export | Description | | -------------- | ---------------------------------------------------------------------------------- | | Button | Button with sizes (lg / sm) and types (primary, default, danger, link) | | Menu | Navigation menu; use Menu.Item and Menu.SubMenu | | AutoComplete | Input with suggestions (sync or async) | | Icon | Font Awesome icon wrapper with optional theme | | Input | Text input building block | | Progress | Progress indicator | | Transition | Transition wrapper (uses react-transition-group) | | Upload | File upload with drag-and-drop and HTTP action URL | | setupIcons | Registers solid icon set for Icon |

TypeScript types are published alongside the build (dist/index.d.ts).

Bundles

| Entry | Path / condition | Use case | | ------- | -------------------------------- | ------------------------- | | ESM | import | Vite, modern bundlers | | CJS | require | Node / older tooling | | UMD | unpkg / script tag | Browser without a bundler | | CSS | @aozi6666/bee-design/style.css | Global component styles |

Upload example

Upload expects an action URL and supports drag mode via drag:

<Upload
  action="https://your-api.example.com/upload"
  name="file"
  drag
  onSuccess={(data, file) => console.log("ok", data, file)}
>
  <p>Drop files here or click to upload</p>
</Upload>

TypeScript

The library is authored in TypeScript. Ensure "moduleResolution": "bundler" or "node16" / "nodenext" in your tsconfig.json for best compatibility with package exports.

Browser support

Targets modern evergreen browsers supported by React 18+. Include the provided CSS file for correct layout and theme classes.

Contributing & source

Source and issues live in the monorepo that contains this package. See the repository linked from the npm package page.

License

License information is defined in the repository / package.json. If none is set, clarify terms with the package author before use in production.