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

hannah-ui

v0.1.0

Published

A lightweight React component library with essential UI components, templates, and utilities built with Tailwind CSS and TypeScript. Install individual components for maximum optimization.

Downloads

66

Readme


Características principales

  • Máxima Optimización: Instalación de componentes de forma individual para el menor tamaño de bundle posible.
  • Tailwind CSS v4: Aprovecha las últimas utilidades y rendimiento del nuevo motor de Tailwind.
  • React 19 Powered: Construido sobre la versión más reciente de React para máxima compatibilidad.
  • Componentes Avanzados: Desde simples botones hasta tablas con drag & drop y filtros inteligentes.
  • Gestión Monorepo: Estructura organizada que permite actualizaciones independientes por componente.

Tech Stack

| Herramienta | Versión | Propósito | |---|---|---| | React | 19.x | UI Framework | | TypeScript | 5.9 | Tipado estático y robustez | | Vite | 7.x | Build tool de alto rendimiento | | Tailwind CSS | 4.x | Estilos utilitarios modernos | | Storybook | 10.x | Documentación visual interactiva | | Vitest | 4.x | Testing unitario | | Lucide React | 0.5xx | Pack de iconografía moderna |


Cómo usar en tu proyecto

Opción A: Paquete principal (Componentes esenciales)

Instala los componentes más usados en un solo paquete ligero.

npm install hannah-ui

Opción B: Componentes individuales (Optimización máxima)

Instala exclusivamente lo que necesitas para maximizar el rendimiento.

# Ejemplo: instalar solo Botón e Input
npm install @hannah-ui/button @hannah-ui/input

# Peer dependencies obligatorias
npm install react react-dom lucide-react

Componentes Destacados

Formularios

  • Button - Botones con variantes y estados animados.
  • Input / Textarea - Campos de texto con soporte para iconos.
  • AppSelect - Selector inteligente con búsqueda integrada.
  • DatePicker - Calendario propio con selección de fechas.
  • PhoneInput - Input de teléfono internacional avanzado.

Datos y Display

  • Table - Tablas con soporte para ordenación y estilos.
  • DraggableTable - Tabla con columnas arrastrables y redimensionables.
  • ExpandableTable - Visualización de datos anidados.
  • KPICard / StatsCard - Tarjetas de indicadores clave de rendimiento.
  • Avatar / AvatarGroup - Gestión de perfiles de usuario.

Navegación & Layout

  • DashboardLayout - Estructura completa de panel administrativo.
  • Sidebar / ModernSidebar - Menús laterales colapsables y fijos.
  • Tabs / PageTabs - Navegación organizada por pestañas.
  • Breadcrumb - Rutas de navegación claras.

Personalización e Estilos

Importar estilos globales

Hannah UI incluye un archivo CSS optimizado que debes importar una sola vez en tu entry point (main.tsx o App.tsx):

import "hannah-ui/style.css";

Paleta de colores

El sistema está diseñado para integrarse con los colores de tu marca. El color primario por defecto es el Lima/Ámbar moderno (#c4ff0d).


Storybook & Documentación

Para ver el catálogo completo de componentes y jugar con sus variantes:

# Instalar dependencias si estás en el repo
npm install

# Iniciar Storybook
npm run storybook

Visita nuestra documentación oficial para más detalles y ejemplos interactivos.


Contribución

¡Las contribuciones son bienvenidas! Si encuentras un bug o tienes una idea para un nuevo componente, abre un issue o envía un PR.

  1. Haz un fork del repositorio.
  2. Crea tu rama de característica (git checkout -b feature/AmazingFeature).
  3. Haz un commit de tus cambios (git commit -m 'Add some AmazingFeature').
  4. Haz push a la rama (git push origin feature/AmazingFeature).
  5. Abre un Pull Request.

Licencia

Este proyecto está bajo la Licencia MIT. Consulta el archivo LICENSE para más detalles.