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

hubbi-ui

v1.2.3

Published

**Hubbi UI** é uma biblioteca de componentes React reutilizáveis construída com Tailwind CSS e Storybook, desenvolvida para garantir consistência visual, escalabilidade e produtividade em aplicações baseadas no ecossistema React.

Readme

Hubbi UI

Hubbi UI é uma biblioteca de componentes React reutilizáveis construída com Tailwind CSS e Storybook, desenvolvida para garantir consistência visual, escalabilidade e produtividade em aplicações baseadas no ecossistema React.


📦 Instalação

Antes de começar, certifique-se de que seu projeto utiliza React 18.

Instalação local

No projeto hubbi-ui

npm i
npm run build
npm link

No projeto que será utilizado o hubbi-ui

npm link hubbi-ui

Instale o hubbi-ui via npm:

npm install hubbi-ui

ou com Yarn:

yarn add hubbi-ui

🧩 Requisitos

Este pacote utiliza peer dependencies, então certifique-se de que as seguintes dependências estejam instaladas no seu projeto:

npm install react react-dom react-router-dom@5 clsx phosphor-react

Observação: É necessário usar react-router-dom@^5.2.0 (versão 5).


🎨 Estilos

A biblioteca depende do arquivo styles.css gerado pelo Tailwind CSS. Você deve importar este CSS no entry point da sua aplicação (por exemplo, main.tsx ou index.tsx):

import "hubbi-ui/styles.css"

🚀 Uso Básico

import { Text } from "hubbi-ui"

export default function App() {
  return (
    <Text variant="h1" color="primary">
      Olá, Hubbi!
    </Text>
  )
}

🧾 Componentes

A biblioteca expõe diversos componentes prontos para uso. Para mais informações, exemplos e personalizações, utilize o Storybook local:

npm run storybook

📦 Scripts Disponíveis

| Comando | Descrição | | ------------------- | ------------------------------------------- | | npm run build | Compila TypeScript e Tailwind para produção | | npm run storybook | Inicia o Storybook com Watch do Tailwind |


📁 Estrutura de Exportação

Este pacote usa exports modernos:

  • ESM: ./dist/hubbi-ui.es.js
  • UMD: ./dist/hubbi-ui.umd.js
  • Tipos TypeScript: ./dist/hubbi-ui.es.d.ts
  • Estilos: ./dist/styles.css

🛠 Tecnologias Utilizadas

  • React 18
  • TypeScript
  • Tailwind CSS
  • Vite
  • Storybook

📌 Observações

  • O CSS precisa obrigatoriamente ser importado manualmente.
  • O build gera os arquivos de estilos e tipos para garantir compatibilidade e reutilização.