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

@hayproject/hayui

v1.0.6

Published

Reusable Tailwind UI components

Readme

🌊 Hayui - Beautiful Tailwind Component Library

npm version License: MIT React TypeScript Tailwind CSS

A beautiful, modern component library built with React, TypeScript, and Tailwind CSS. Features Satoshi font typography, soft color palette, and works seamlessly with React, Vue, Laravel Blade, and plain HTML.

✨ Features

  • 🎨 Soft Color Palette - Professional, non-saturated colors (Neutral, Blue, Green, Amber, Red)
  • 🔤 Satoshi Font - Modern typography with weights 400 (Regular) and 500 (Semibold)
  • 📦 Zero Dependencies - Only requires React and Tailwind CSS
  • 🎯 Framework Agnostic CSS - Use utility classes in any framework or plain HTML
  • 📱 Fully Responsive - Mobile-first, works on all screen sizes
  • Accessible - WCAG AA compliant, proper semantic HTML
  • 📖 Well Documented - Comprehensive guides and examples
  • 🚀 Production Ready - Used in production applications
  • 💯 100% Free & Open Source - MIT License

🎯 Components

  • Ember (Button) - Primary, secondary, success, warning, danger variants
  • Breeze (Card) - Flexible card containers with shadow control
  • Glow (Input) - Form inputs with validation states
  • Flame (Alert) - Info, success, warning, error alerts
  • More coming - Badge, Modal, Dropdown, Toast, and more

🚀 Quick Start

Installation

npm install @yourusername/hayui
# or
yarn add @yourusername/hayui
# or
pnpm add @yourusername/hayui

Using in React

import { Ember, Breeze, Glow, Flame } from '@yourusername/hayui';
import '@yourusername/hayui/dist/hayui.css';

function App() {
  return (
    <div>
      <Ember variant="primary">Click Me</Ember>
      
      <Breeze>
        <h3>Card Title</h3>
        <p>Card content goes here</p>
      </Breeze>
      
      <Glow label="Email" placeholder="Enter email" />
      
      <Flame type="success" title="Success!">
        Your data has been saved.
      </Flame>
    </div>
  );
}

Using in Laravel Blade

<!-- Just import CSS -->
@import '@yourusername/hayui/dist/hayui.css';

<!-- Use utility classes -->
<button class="hayui-button-primary px-6 py-2 rounded-lg">
  Click Me
</button>

<div class="hayui-card p-6 rounded-lg">
  <h3 class="font-semibold">Card Title</h3>
  <p class="text-neutral-600">Card content</p>
</div>

<input class="hayui-input w-full px-4 py-2 rounded-lg border border-neutral-200">

Using in Plain HTML

<!DOCTYPE html>
<html>
<head>
  <script src="https://cdn.tailwindcss.com"></script>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/@yourusername/hayui@latest/dist/hayui.css">
  <link href="https://fonts.googleapis.com/css2?family=Satoshi:wght@400;500&display=swap" rel="stylesheet">
</head>
<body>
  <button class="hayui-button-primary px-6 py-2 rounded-lg">Click Me</button>
</body>
</html>

📚 Documentation

🎨 Design System

Satoshi Typography

  • Weight 400 (Regular) - Body text, descriptions
  • Weight 500 (Semibold) - Headings, buttons, emphasis (not heavy, stays modern)

Soft Color Palette

Neutral Palette - 7 shades (50-600) for structure and backgrounds

Soft Core Colors:

  • Blue - Primary actions and interactive elements
  • Green - Success states and positive feedback
  • Amber - Warnings and important notices
  • Red - Errors and destructive actions

All colors are soft, non-saturated, and WCAG AA compliant.

📦 Package Contents

@yourusername/hayui/
├── dist/
│   ├── index.esm.js           React ESM export
│   ├── index.cjs.js           React CommonJS export
│   ├── index.umd.js           React UMD export
│   ├── hayui.css              Utility classes + Satoshi font
│   └── index.d.ts             TypeScript definitions
├── src/
│   ├── components/            React component source
│   ├── styles/globals.css     Base styles
│   └── index.ts               Main export
├── docs/                      Astro documentation
└── package.json

🛠️ Development

Prerequisites

  • Node.js 16+
  • npm 7+ / yarn / pnpm

Setup

# Clone repository
git clone https://github.com/yourusername/hayui.git
cd hayui

# Install dependencies
npm install

# Build library
npm run build

# Build documentation
cd docs
npm install
npm run dev

# Open http://localhost:3000

Available Scripts

npm run build      # Build library for production
npm run dev        # Watch mode during development
npm run clean      # Remove build artifacts
npm run lint       # Run ESLint
npm run format     # Format code with Prettier

🤝 Framework Support

React ✅

import { Ember } from '@yourusername/hayui';

<Ember variant="primary">Button</Ember>

Vue 3 ✅

<template>
  <button class="hayui-button-primary">Button</button>
</template>

Laravel Blade ✅

<button class="hayui-button-primary">Button</button>

Plain HTML ✅

<button class="hayui-button-primary">Button</button>

Astro ✅

<button class="hayui-button-primary">Button</button>

📄 License

MIT License - See LICENSE file

What this means:

  • Free to use - Personally and commercially
  • Open source - Can view and modify source code
  • Share & distribute - Can share and distribute freely
  • Modify - Can modify code for your needs
  • ⚠️ Include license - Must include original license and copyright notice
  • ⚠️ No liability - Provided as-is without warranty

🆓 Free & Open Source

Hayui is completely free and open source under the MIT License. You can:

  • ✅ Download and use for free (personal or commercial)
  • ✅ Modify the code for your needs
  • ✅ Create derivative works
  • ✅ Distribute your own versions
  • ✅ Use in closed-source projects
  • ✅ Use in open-source projects

No commercial license required. No payment needed. No restrictions.

🙌 Contributing

Contributions are welcome! Please see CONTRIBUTING.md

📝 Attribution

While not required, attribution is appreciated:

<!-- Optional: Show your support -->
Built with <a href="https://github.com/yourusername/hayui">Hayui</a>

🐛 Bug Reports

Found a bug? Please open an issue

💬 Support

🚀 Roadmap

  • [x] Core components (Button, Card, Input, Alert)
  • [x] React components
  • [x] TypeScript support
  • [x] Tailwind CSS integration
  • [x] Laravel Blade support
  • [ ] Badge component
  • [ ] Modal component
  • [ ] Dropdown component
  • [ ] Toast notifications
  • [ ] Table component
  • [ ] Form components (Checkbox, Radio, Toggle)
  • [ ] Pagination component
  • [ ] Tabs component

📊 Project Stats

  • 🎨 5+ components ready
  • 📦 0 dependencies (except React + Tailwind)
  • 📄 700+ lines of documentation
  • ⚡ < 50kb gzipped
  • 🌍 Framework agnostic

🎓 Learning Resources

✨ Credits

Built with ❤️ by [Your Name]

Inspired by:

📄 Additional Legal

Satoshi Font License

Satoshi is a free font available from FontShare

License: Open Font License (OFL)

  • ✅ Free to download
  • ✅ Free to use personally and commercially
  • ✅ Can be embedded in web projects
  • ⚠️ Cannot be sold
  • ⚠️ Must include OFL license

For more details, see Satoshi Font License

Tailwind CSS

Tailwind CSS is free and open source under the MIT License

Third-Party Licenses

All dependencies are listed in package.json. Check their respective licenses:

npm license-report

🔐 Security

If you discover a security vulnerability, please email [email protected] instead of using the issue tracker.

📮 Contact


🎉 Get Started

npm install @yourusername/hayui

Start building beautiful UIs with Hayui today!

Made with ❤️ · Free & Open Source · MIT License