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 πŸ™

Β© 2025 – Pkg Stats / Ryan Hefner

@postbee/postbee-ui-lib

v1.32.3

Published

<div align="center"> <img src="public/images/PostBee-Logo.png" alt="PostBee Logo" width="420"> <h1>PostBee UI Library 🐼</h1> <p><a href="https://www.npmjs.com/package/@postbee/postbee-ui-lib"><img alt="npm version" src="https://img.shields.io/npm/v

Readme

A modern, accessible React component library powered by Tailwind CSS 4, Radix Primitives, and TypeScript. Batteries included: theming, icons, tests, and Storybook docs.


✨ Features

  • πŸ”’ Type-safe: Written in TypeScript with ESM and CJS builds
  • β™Ώ Accessible primitives: Built on Radix UI
  • 🎨 Theming: Tailwind CSS 4 tokens and ready-to-use styles
  • βœ… Well-tested: Vitest + Testing Library
  • πŸ“š Storybook: Local docs for components and tokens

πŸ“¦ Installation

npm install @postbee/postbee-ui-lib

πŸš€ Quick Start

  1. Import the base styles once in your app entry:
// e.g., src/main.tsx or _app.tsx
import '@postbee/postbee-ui-lib/styles';
  1. Use components:
import { Button, Icon, Paragraph } from '@postbee/postbee-ui-lib';

export default function Example() {
  return (
    <div>
      <Paragraph>Welcome to PostBee UI</Paragraph>
      <Button>Click me</Button>
      <Icon name="checkmark" />
    </div>
  );
}

🎨 Tailwind Configuration (optional)

You can extend your Tailwind setup with our exported configuration and design tokens.

// tailwind.config.ts
import baseConfig from '@postbee/postbee-ui-lib/tailwind.config.ts';

export default {
  // your app config ...
  presets: [baseConfig],
};

🧩 Available Components

  • πŸ‘€ Avatar
  • πŸ”˜ Buttons: Button, IconButton, TextButton, ToggleButton, LikeButton, CommentsButton, CopyButton
  • πŸ’¬ Dialog
  • πŸ“ Fields: Input, Textarea, ErrorMessage
  • 🎯 Icon (with built-in SVG set)
  • πŸ”— Link
  • 🏷️ Logo
  • πŸ“‘ Tabs
  • ✍️ Typography: Heading, Label, Paragraph

Import from the package root:

import {
  Avatar,
  Button,
  CommentsButton,
  CopyButton,
  Dialog,
  ErrorMessage,
  Heading,
  Icon,
  IconButton,
  Input,
  Label,
  LikeButton,
  Link,
  Logo,
  Paragraph,
  Tabs,
  TextButton,
  Textarea,
  ToggleButton,
} from '@postbee/postbee-ui-lib';

πŸ› οΈ Scripts

  • πŸš€ dev: Vite playground for local development
  • πŸ“– storybook: Run Storybook locally on port 6006
  • πŸ“¦ build: Create ESM/CJS builds and copy styles/config
  • πŸ§ͺ test: Run unit tests (Vitest)
  • πŸ” lint: Lint, type-check, and unused check
npm run dev
npm run storybook
npm run build
npm test
npm run lint

πŸ“‹ Peer Dependencies

  • βš›οΈ React: 19
  • 🌐 React DOM: 19
  • 🎨 Tailwind CSS: 4

πŸ’» Tech Stack

  • βš›οΈ Framework: React 19 + TypeScript
  • 🎨 Styling: Tailwind CSS 4, Design Tokens
  • β™Ώ A11y Primitives: Radix UI (Avatar, Dialog, Tabs)
  • ⚑ Build: Vite 7
  • πŸ“š Docs: Storybook 10
  • πŸ§ͺ Testing: Vitest, @testing-library/react, jsdom
  • πŸ” Lint/Format: ESLint, Prettier
  • πŸš€ Release: semantic-release

πŸ“– Local Storybook Docs

Run Storybook to explore components and tokens:

npm run storybook

πŸ”— Storybook URL

🀝 Contributing

  1. 🌿 Create a feature branch
  2. πŸ”¨ Build and test locally
  3. ✨ Add stories and tests for new components
  4. πŸ“€ Submit a PR

πŸ“š References

  • βš›οΈ React: https://react.dev
  • 🎨 Tailwind CSS v4: https://tailwindcss.com
  • β™Ώ Radix UI: https://www.radix-ui.com/primitives
  • πŸ“– Storybook: https://storybook.js.org
  • πŸ§ͺ Testing Library: https://testing-library.com/docs/react-testing-library/intro
  • ⚑ Vitest: https://vitest.dev
  • πŸš€ semantic-release: https://semantic-release.gitbook.io/semantic-release

πŸ‘₯ Contributors

Made with ❀️ by PostBee Team. All trademarks are property of their respective owners.