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

@jay-js/ui

v4.2.1

Published

A library of UI components for Jay JS with Tailwind CSS and daisyUI.

Downloads

177

Readme

@jay-js/ui

A comprehensive collection of reusable UI components for Jay-JS framework. This package serves as a component registry that can be consumed via the Jay-JS CLI to add individual components to your projects, similar to how shadcn/ui works.

📦 About This Package

This package contains 60+ UI components built with:

  • @jay-js/elements - Core element creation library
  • Tailwind CSS - Utility-first CSS framework
  • daisyUI - Component library for Tailwind CSS
  • TypeScript - Full type safety

🚀 Installation via CLI

Instead of installing this package directly, use the Jay-JS CLI to add specific components to your project:

# Install the Jay-JS CLI globally
npm install -g @jay-js/cli

# Add individual components to your project
jayjs ui add alert
jayjs ui add card
jayjs ui add button modal

# Components will be downloaded to src/components/ui/

📁 How It Works

  1. Component Registry: This package acts as a centralized registry of all available UI components
  2. CLI Integration: The @jay-js/cli downloads components directly from the GitHub repository
  3. Local Installation: Components are copied to your src/components/ui/ directory
  4. Full Control: You own the components and can customize them as needed

📚 Available Components

Layout & Structure

  • Card (+ card-actions, card-body, card-description, card-figure, card-title)
  • Divider
  • Footer
  • Join
  • Stack

Navigation

  • Breadcrumbs
  • Bottom Navigation (+ bottom-navigation-item)
  • Navbar (+ navbar-component)
  • Menu (+ menu-item, menu-title)
  • Tabs (+ tab-item)
  • Steps (+ step-item)

Data Display

  • Alert
  • Avatar
  • Badge
  • Tooltip
  • Timeline (+ timeline-item, timeline-items)
  • Rating
  • Radial Progress
  • Loading

Feedback

  • Toast (+ toast-container)
  • Modal (+ modal-action, modal-backdrop, modal-box)
  • Drawer (+ drawer-content, drawer-overlay)

Form Controls

  • Text Input
  • Toggle
  • Kbd (Keyboard shortcuts display)

Utilities

  • Dropdown (+ dropdown-content, dropdown-label)
  • Collapse (+ collapse-content, collapse-title)
  • Swap (+ swap-item)
  • Chat (+ chat-component)
  • Diff (+ diff-item, diff-resizer)
  • Indicator (+ indicator-item)
  • Resizable Splitter

🎯 Component Usage Example

After adding a component via CLI:

import { Alert } from './src/components/ui/alert';

const alertElement = Alert({
  severity: 'alert-info',
  content: 'This is an info alert!'
});

document.body.appendChild(alertElement);

🧠 Built-in Hooks

The package also includes useful React-like hooks for vanilla JavaScript:

  • useToast - Toast notification management
  • useModal - Modal state management
  • useDrawer - Drawer state management
  • useRef - Element reference management
  • useListener - Event listener management

🎨 Styling

All components use:

  • Tailwind CSS classes for styling
  • daisyUI components for consistent design
  • Customizable CSS classes via className prop
  • Tailwind Merge for intelligent class merging

Contributing

We welcome contributions from the community. If you find a bug, have a feature request, or want to contribute to the project, please feel free to open an issue or submit a pull request on the project's GitHub repository.

License

Jay-JS UI is licensed under the MIT License. For more information, please refer to the LICENSE file.


We hope you enjoy using Jay-JS UI to build stunning web applications. If you have any questions, suggestions, or feedback, please feel free to reach out to us. Happy coding!