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

@corella/astro

v0.3.0

Published

Astro components for Corella Design System

Readme

@corella/astro

Implementación oficial de Corella Design System para Astro. Diseñado para aprovechar la arquitectura de islas y el rendimiento "Zero-JS by default" de Astro.


📦 Instalación

pnpm add @corella/astro @corella/core-ui

No olvides configurar Tailwind CSS incluyendo la ruta de @corella en tu content config.


🌟 Filosofía Astro-First

Los componentes de este paquete son archivos .astro nativos. Esto significa:

  1. Cero JavaScript en el cliente: A menos que sea estrictamente necesario (hidaratación), los componentes renderizan HTML puro y estático.
  2. Slots Potentes: Aprovechamos los named slots de Astro para una composición flexible.
  3. Ligereza: Sin overhead de librerías de renderizado como React o Vue.

🚀 Componentes y Uso

Button

---
import { Button } from "@corella/astro";
---

<Button variant="solid" color="primary" href="/contact">
  Contáctanos
</Button>

Nota: Si pasas un href, el componente renderiza automáticamente un <a>, si no, un <button>.

Input

Usa slots nombrados para inyectar iconos o botones de acción sin complejidad extra.

---
import { Input } from "@corella/astro";
import SearchIcon from "../icons/Search.astro";
---

<Input placeholder="Buscar usuario..." floatingLabel>
  <!-- Slots Nombrados -->
  <SearchIcon slot="start-icon" class="w-5 h-5" />

  <button slot="end-action" class="text-xs font-bold text-primary">
    LIMPIAR
  </button>
</Input>

Checkbox & Radio

Soporte completo para variantes visuales.

---
import { Checkbox, Radio } from "@corella/astro";
---

<!-- Clásico -->
<Checkbox label="Recordarme" />

<!-- Chip (Filtros) -->
<div class="flex gap-2">
  <Radio name="filter" variant="chip" label="Todos" checked />
  <Radio name="filter" variant="chip" label="Populares" />
</div>

<!-- Card (Tarjetas ricas) -->
<Radio name="shipping" variant="card" hideControl>
  <div class="flex justify-between w-full">
    <span>Envío Express</span>
    <span class="font-bold">$15.00</span>
  </div>
</Radio>

🧩 Integración

Puedes mezclar libremente componentes de @corella/astro con componentes de framework en tus "Islas" de Astro (client:load), pero recuerda que los componentes .astro son solo de servidor.

Si necesitas un componente interactivo dentro de una isla de React (ej. un formulario complejo validado en cliente), te recomendamos usar la versión de React (@corella/react) dentro de esa isla.


📄 Licencia

MIT © Corella Design System