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

@nimbuslab/lumina

v0.3.0

Published

Design system React acessível construído sobre Radix UI e Tailwind CSS v4, otimizado para Next.js App Router e React 19. Tokens semânticos Apple-friendly, temas dark/light/mood e ícones unificados.

Readme

Lumina

Design system React acessível, sobre Radix UI e Tailwind CSS v4. Otimizado para Next.js App Router, React 19 e Server Components.

npm version npm downloads bundle size license CI

Componentes · Tokens · Temas · Roadmap


Por que Lumina

  • Acessível por padrão — primitivos Radix UI cobrem ARIA, foco e teclado
  • Tailwind CSS v4 nativo@theme block, @source automático, zero tailwind.config.ts
  • Tokens semânticos Apple-friendlycanvas, ink, surface, surface-elevated, hairline, tint coexistindo com tokens shadcn
  • Tree-shakeable de verdade — build por arquivo (ESM puro), só carrega o que você importa
  • Animation-library-agnostic — moods prontos para interpolação com GSAP, sem dependência obrigatória
  • OG images nativos — templates Open Graph para Next.js (nimbus-og, changelog-card)
  • Icons unificados — wrapper único para Lucide + Phosphor + custom

Instalação

bun add @nimbuslab/lumina

Peer dependencies

bun add react react-dom next tailwindcss
# opcional, se for animar com GSAP
bun add gsap

| Peer | Versão | |---|---| | react | ^19.0.0 | | react-dom | ^19.0.0 | | next | >=15.0.0 | | tailwindcss | ^4.0.0 | | gsap (opcional) | >=3.12.0 |

Quick start

/* app/globals.css */
@import "@nimbuslab/lumina/styles/globals.css";
// app/page.tsx
import { Button } from "@nimbuslab/lumina/components/button"
import { Card } from "@nimbuslab/lumina/components/card"

export default function Page() {
  return (
    <Card>
      <Button>Clique aqui</Button>
    </Card>
  )
}

Pronto. Light mode por padrão, dark mode com class="dark" no <html>.

Componentes

70+ componentes baseados em primitivos Radix:

Accordion · Alert · AlertDialog · AspectRatio · Avatar · AvatarGroup · Badge · Breadcrumb · Button · Calendar · Card · Carousel · Chart · Checkbox · Collapsible · Combobox · Command · ContextMenu · DatePicker · Dialog · Drawer · DropdownMenu · Form · HoverCard · Input · InputOTP · Label · Menubar · NavigationMenu · Pagination · Popover · Progress · RadioGroup · Resizable · ScrollArea · Select · Separator · Sheet · Sidebar · Skeleton · Slider · Sonner · Switch · Table · Tabs · Textarea · Toggle · ToggleGroup · Tooltip

E utilitários: Icon (Lucide + Phosphor + custom), OG templates, Hooks.

Tokens de design

shadcn-compatible (padrão mercado)

--background  --foreground
--card        --card-foreground
--popover     --popover-foreground
--primary     --primary-foreground
--secondary   --secondary-foreground
--muted       --muted-foreground
--accent      --accent-foreground
--destructive --destructive-foreground
--border  --input  --ring  --radius
--sidebar-*   --chart-1..5

Apple-friendly (aliases)

--color-canvas             /* → background */
--color-ink                /* → foreground */
--color-ink-muted          /* → muted-foreground */
--color-surface            /* → card */
--color-surface-elevated   /* card + 6% white */
--color-surface-sunken     /* background + 4% black */
--color-hairline           /* border 60% alpha */
--color-tint               /* → primary */
--color-tint-subtle        /* primary 10% alpha */

Brand

--color-nimbus-50 ... --color-nimbus-950

Temas

  • Light — padrão (sem classe)
  • Darkclass="dark" no <html>
  • Moods.mood-warm, .mood-light, .mood-intense

Aplicação programática (compatível com GSAP):

import gsap from "gsap"
import { buildMoodProxy, applyMoodToElement } from "@nimbuslab/lumina/tokens/moods"

const proxy = buildMoodProxy("dark")
const target = buildMoodProxy("warm")

gsap.to(proxy, {
  ...target,
  duration: 0.6,
  onUpdate: () => applyMoodToElement(proxy, document.documentElement),
})

Roadmap

  • [x] v0.2.0 — primeira release no npm
  • [ ] v0.3.0 — release público open source (este)
  • [ ] v0.4.0 — Storybook hospedado em lumina.nimbuslab.com.br
  • [ ] v0.5.0 — temas adicionais e variantes de mood
  • [ ] v1.0.0 — API estável, breaking changes só em majors

Compatibilidade

| Lumina | React | Next.js | Tailwind | |---|---|---|---| | 0.x | ^19 | >=15 | ^4 |

Bundle

Bundle por arquivo (bundle: false no tsup), tree-shaking máximo. Importe só o que usa:

// pega só o Button
import { Button } from "@nimbuslab/lumina/components/button"

Cada componente carrega só seus primitivos Radix necessários.

Contribuindo

Lumina é mantido pela equipe da nimbuslab. PRs externos são aceitos por convite. Para reportar bugs ou sugerir features, contate [email protected].

Veja CONTRIBUTING.md para mais detalhes.

Stack

Radix UI · Tailwind CSS v4 · TypeScript · tsup · Changesets · Bun

Licença

MIT © nimbuslab

Construído em Brasília, DF — Brasil