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

leira-ui

v1.3.0

Published

Biblioteca de componentes React + Tailwind CSS. Componentes modernos, elegantes y listos para usar.

Downloads

398

Readme

Leira UI


📸 Vista Previa


✨ Características

  • 🎨 Tema oscuro premium por defecto
  • React 19 compatible
  • 🌊 Tailwind CSS 4 optimizado
  • 📦 TypeScript con tipos incluidos
  • 🎭 Animaciones suaves y transiciones elegantes
  • 📱 Responsive y accesible
  • 📋 Copy & Paste - Copia el código directamente

📦 Instalación

npm install leira-ui lucide-react
pnpm add leira-ui lucide-react
yarn add leira-ui lucide-react

⚡ Inicio Rápido

1. Importa los estilos en tu archivo principal (main.tsx o App.tsx)

import 'leira-ui/styles.css'

2. Usa los componentes

import { Button, Card, CardBody, Input, Alert } from 'leira-ui'

function App() {
  return (
    <Card hover>
      <CardBody>
        <Input label="Email" placeholder="[email protected]" />
        <Button variant="primary">Enviar</Button>
        <Alert variant="success">¡Operación exitosa!</Alert>
      </CardBody>
    </Card>
  )
}

🧩 Componentes Disponibles

Formularios

| Componente | Descripción | |------------|-------------| | Button | Botones con variantes, tamaños y estados de carga | | Input | Campos de entrada con validación e iconos | | Textarea | Área de texto con validación |

Layout

| Componente | Descripción | |------------|-------------| | Card | Tarjetas con header, body, footer y hover effects | | ImageCard | Cards con imagen destacada |

Navegación

| Componente | Descripción | |------------|-------------| | Navbar | Barra de navegación responsive con dropdowns | | Sidebar | Menú lateral colapsable | | DropdownMenu | Menú desplegable | | Breadcrumb | Navegación de migas de pan | | Tabs | Pestañas con estilos pill y underline |

Feedback

| Componente | Descripción | |------------|-------------| | Alert | Alertas de notificación con variantes | | Modal | Modales con animaciones | | Tooltip | Tooltips con posicionamiento flexible | | Spinner | Indicadores de carga | | Skeleton | Placeholders de carga |

Secciones

| Componente | Descripción | |------------|-------------| | SimpleFooter | Footer minimalista | | MultiColumnFooter | Footer con múltiples columnas | | CenteredFooter | Footer centrado | | NewsletterFooter | Footer con suscripción |

Data Display

| Componente | Descripción | |------------|-------------| | Badge | Etiquetas y badges con estilos | | Accordion | Acordeones colapsables con animaciones | | Carousel | Carrusel básico | | ImageCarousel | Carrusel de imágenes | | CardCarousel | Carrusel de cards | | CoverflowCarousel | Carrusel 3D con perspectiva | | TestimonialCarousel | Carrusel de testimonios |


📖 Documentación

Visita nuestra documentación completa con ejemplos interactivos:

🔗 leira-ui.vercel.app


🎨 Personalización

Los componentes usan variables CSS que puedes personalizar:

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #16161f;
  --bg-hover: #1e1e2a;
  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;
  --text-muted: #666680;
  --border-color: #2a2a3a;
}

🛠️ Desarrollo Local

# Clonar el repositorio
git clone https://github.com/tu-usuario/leira-ui.git
cd leira-ui

# Instalar dependencias
pnpm install

# Iniciar servidor de desarrollo
pnpm dev

# Build paquete NPM
pnpm build:lib

📄 Licencia

MIT © Leira UI