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

@erenyeager13/bearish-ui-lib

v0.1.16

Published

This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).

Downloads

3

Readme

🐻 Bearish UI Library

Bearish UI is a modular, reusable, and style-consistent React component library built using Tailwind CSS v4+ and Material UI. It provides essential building blocks for modern frontend development.

📦 Installation

Install the package via npm:

npm install @erenyeager13/bearish-ui-lib

Or with yarn:

yarn add @erenyeager13/bearish-ui-lib

⚡️ Usage

In your application entry (e.g., _app.tsx, layout.tsx, or page.tsx), make sure to import the compiled Tailwind CSS:

import '@erenyeager13/bearish-ui-lib/dist/styles.css';

Then use the components:

import { Button } from '@erenyeager13/bearish-ui-lib';

export default function Home() {
  return (
    <div className="p-8">
      <Button onClick={() => alert('Hello World!')}>
        Click Me
      </Button>
    </div>
  );
}

🧠 What's Inside

  • ✅ Tailwind CSS 4.1+ (JIT mode, zero config)
  • ✅ MUI v5 for accessibility and robust UI behavior
  • ✅ TypeScript support with full typings
  • ✅ Precompiled global styles (styles.css)
  • ✅ Tree-shakable components

🧱 Components

Button

A wrapped version of MUI Button with Tailwind-enhanced utility styling.

<Button className="bg-gradient-to-r from-purple-500 to-pink-500 hover:scale-105 transition">
  Press Me
</Button>

Props

| Prop | Type | Description | |------------|--------------|---------------------------------| | children | ReactNode | Content inside the button | | onClick | () => void | Optional click handler | | className| string | Additional Tailwind/MUI classes |

Supports all props from MUI's native <Button />.

🎨 Tailwind + CSS Integration

Bearish UI uses Tailwind CSS 4+, prebuilt and compiled into:

import '@erenyeager13/bearish-ui-lib/dist/styles.css';

You do not need to configure Tailwind in your host app unless you want to extend the design system.

📁 Project Structure

bearish-ui-lib/
├── dist/                 # Compiled output
│   ├── components/       # JS + .d.ts
│   └── styles.css        # Compiled Tailwind CSS
├── src/
│   └── app/components/   # Source components
├── public/               # Icons/assets
├── postcss.config.mjs
├── package.json
├── tsconfig.json
└── README.md

🛠 Scripts

In your consuming app:

"scripts": {
  "dev": "next dev",
  "build": "next build",
  "start": "next start"
}

If you want to build the library manually:

npm run build
# or
yarn build

This compiles TS into dist/ and generates styles.css.

✨ Roadmap

  • [x] Component packaging with MUI + Tailwind
  • [x] Precompiled global styles
  • [ ] Input, Modal, Select, TextArea components
  • [ ] Storybook or Nextra docs
  • [ ] Theme support (light/dark mode)
  • [ ] Variant system (e.g., primary, ghost, destructive)

🤝 Contributing

Want to contribute?

  1. Fork the repo
  2. Create a branch: git checkout -b feature/my-component
  3. Add your changes
  4. Run npm run build to verify output
  5. Commit and open a PR 🙌

🧠 FAQ

Does this require Tailwind in my app?

No, Tailwind is precompiled. All necessary styles are inside dist/styles.css.

Can I customize styles?

Yes! Use className prop and Tailwind utility classes to customize components.

Do components support server components?

Yes. All components are client-safe but can be used in hybrid SSG/SSR environments.

📝 License

MIT © 2025 @erenyeager13


Build fast. Build bold. Build Bearish. 🐻