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

@clicoh/orion-library

v1.0.5

Published

UI component library for react.js and next.js from the Clicoh company

Downloads

300

Readme

Orion Library

Librería de componentes React para proyectos Next.js, construida con TypeScript y TailwindCSS.

Instalación

Instala la librería usando npm:

npm install @clicoh/orion-library

O con yarn:

yarn add @clicoh/orion-library

O con pnpm:

pnpm add @clicoh/orion-library

Configuración

1. Configurar TailwindCSS

Agrega la ruta de la librería a tu archivo tailwind.config.ts para que los estilos sean detectados:

import type { Config } from "tailwindcss";

const config: Config = {
  content: [
    "./src/**/*.{js,ts,jsx,tsx,mdx}",
    "./node_modules/@clicoh/orion-library/**/*.{js,ts,jsx,tsx}",
  ],
  // ... resto de tu configuración
};

export default config;

2. Importar estilos base (opcional)

Si necesitas los estilos base de la librería, importa el CSS en tu layout principal:

import '@clicoh/orion-library/assets/css/base.css';

Uso

Importar componentes

Puedes importar los componentes que necesites desde la librería:

import { Button, Input, Card, Modal } from '@clicoh/orion-library';

function MyComponent() {
  return (
    <div>
      <Button variant="primary">Click me</Button>
      <Input placeholder="Enter text..." />
    </div>
  );
}

Componentes disponibles

La librería incluye componentes organizados por categorías:

00-base

  • Colors - Sistema de colores
  • Each - Renderizado de listas
  • RootLayout - Layout base
  • Show - Renderizado condicional
  • Typography components

01-atoms

  • Badge - Insignias
  • Button - Botones
  • Checkbox - Casillas de verificación
  • FileUpload - Carga de archivos
  • Heading - Encabezados
  • Input - Campos de entrada
  • List - Listas
  • Logo - Logo
  • MultiSelect - Selección múltiple
  • OtpInput - Input para códigos OTP
  • Paragraph - Párrafos
  • RadialProgressBar - Barra de progreso radial
  • Radio - Botones de radio
  • Select - Selectores
  • Spinner - Indicadores de carga
  • Switch - Interruptores
  • Toast - Notificaciones
  • Tooltip - Tooltips

02-molecules

  • Accordion - Acordeones
  • Avatar - Avatares
  • Breadcrumb - Migas de pan
  • ButtonGroup - Grupos de botones
  • Container - Contenedores
  • Dropdown - Menús desplegables
  • Filter - Filtros
  • Menu - Menús
  • Modal - Modales
  • Pagination - Paginación
  • SlideOver - Paneles deslizantes
  • Tab - Pestañas
  • Table - Tablas

03-organisms

  • AsideFilters - Filtros laterales
  • AsideMenu - Menú lateral
  • DataTable - Tablas de datos
  • Header - Encabezado
  • ModalMultiple - Modales múltiples

04-templates

  • DashboardTemplate - Plantilla de dashboard
  • LoginTemplate - Plantilla de login
  • SideFilterTemplate - Plantilla con filtros laterales

Hooks

La librería también incluye hooks personalizados:

import { useFilterStore, useSegments } from '@clicoh/orion-library';

Interfaces

Interfaces TypeScript disponibles:

import type { AppResponse, LayoutProps } from '@clicoh/orion-library';

Utilidades

Funciones de utilidad:

import { generateUniqueId, calculateFileSize } from '@clicoh/orion-library';

Ejemplo completo

import { Button, Input, Modal } from '@clicoh/orion-library';
import { useState } from 'react';

function App() {
  const [isOpen, setIsOpen] = useState(false);

  return (
    <div className="p-4">
      <Input
        placeholder="Escribe algo..."
        className="mb-4"
      />

      <Button
        variant="primary"
        onClick={() => setIsOpen(true)}
      >
        Abrir Modal
      </Button>

      <Modal
        isOpen={isOpen}
        onClose={() => setIsOpen(false)}
      >
        <h2>Contenido del Modal</h2>
      </Modal>
    </div>
  );
}

Desarrollo

Para trabajar en la librería localmente:

# Instalar dependencias
npm install

# Ejecutar Storybook
npm run storybook

# Compilar la librería
npm run build

Requisitos

  • React 18.3.1 o superior
  • Next.js 14.0.4 o superior
  • TailwindCSS configurado en tu proyecto

Licencia

Ver el archivo LICENSE en el repositorio.