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

@brainz_group/brainz-ui

v0.0.2

Published

<h1 align="center" style="background-color: #383839"> <br /> <img alt="big brain" src="https://brainz.group/wp-content/themes/brainz-group/assets/BrainzGroupLogo.svg" /> <br /><br /> </h1>

Readme

brainzUI, componentes criados com React, Typescript and TailwindCSS

[ Veja todos os componentes ]

Visão Geral

Este repositório contém a biblioteca de componentes de interface desenvolvida em React e Tailwind CSS para uso em projetos Big Brain e Reeducation.

🔗 Layout no Figma

🎯 Objetivos

  1. Padronização – Garantir consistência visual nas interfaces da Brainz.
  2. Abstração da camada visual – Facilitar o desenvolvimento front-end, permitindo que os devs foquem na lógica de negócio.
  3. Reutilização – Componentes modulares e escaláveis para maior produtividade e manutenção simplificada.

💿 Como instalar?

Make sure you've installed TailwindCSS and daisyUI.

Instale a biblioteca com npm ou yarn:

npm install @brainz_group/brainz-ui
ou
yarn add @brainz_group/brainz-ui

Dentro de src/App.tsx faça a importação dos estilos da biblioteca.

import "@brainz_group/brainz-ui/style.css";

⚡ Como utilizar?

Importe os componentes da brainzUI dentro de seus componentes:

import { Button } from "@brainz_group/brainz-ui";

export default (props) => {
  return <Button color="primary">Clique aqui!</Button>;
};

🎨 Como personalizar?

Classes personalizadas

Você pode customizar os componentes de duas formas:

  1. Utilizando as classes utilitárias do Tailwind CSS.
  2. Passando classes personalizadas diretamente no atributo className.

Isso garante flexibilidade para adaptar os estilos conforme as necessidades do seu projeto.

Cores personalizadas

Utilizamos variáveis CSS para definir os estilos dos componentes, garantindo flexibilidade e fácil personalização.

Se precisar alterar as cores do projeto, basta substituir os valores das variáveis CSS e acrescentar a propriedade !important, sem a necessidade de modificar os componentes diretamente.

Variáveis utilizadas

As variáveis CSS disponíveis para personalização são:

:root {
  /* NEUTRAL */
  --app-neutral-50: #f7f7f7;
  --app-neutral-100: #e7e7e7;
  --app-neutral-200: #d7d7d7;
  --app-neutral-300: #c7c7c7;
  --app-neutral-400: #b7b7b7;
  --app-neutral-500: #a7a7a7;
  --app-neutral-600: #979797;
  --app-neutral-700: #777777;
  --app-neutral-800: #575757;
  --app-neutral-900: #373737;

  /* PRIMARY */
  --app-primary-100: #94e7f5;
  --app-primary-200: #72d9e8;
  --app-primary-500: #03bac6;
  --app-primary-600: #0297a9;
  --app-primary-700: #01778f;

  /* SECONDARY */
  --app-secondary-100: #fff1b9;
  --app-secondary-200: #fce79c;
  --app-secondary-500: #fecb37;
  --app-secondary-600: #e5a829;
  --app-secondary-700: #d6901a;

  /* TERTIARY */
  --app-tertiary-100: #f9b1a8;
  --app-tertiary-200: #f78d84;
  --app-tertiary-500: #e55b53;
  --app-tertiary-600: #d34741;
  --app-tertiary-700: #b9342f;

  /*ERROR*/
  --app-error-50: #fce9e5;
  --app-error-100: #f5b0a1;
  --app-error-200: #e91500;

  /*SUCCESS*/
  --app-success-50: #eef6eb;
  --app-success-100: #acd49f;
  --app-success-200: #24a31a;

  /*WARNING*/
  --app-warning-50: #fff8e6;
  --app-warning-100: #f9d69e;
  --app-warning-200: #ff9d0c;

  /*INFO*/
  --app-info-50: #edf1ff;
  --app-info-100: #9fc5fd;
  --app-info-200: #1f6afb;
}

Exemplo

Exemplo de paleta de cor personalizada para a cor primary:

:root {
  --app-primary-100: #94f59c !important;
  --app-primary-200: #76e872  !important;
  --app-primary-500: #30c603  !important;
  --app-primary-600: #29a902  !important;
  --app-primary-700: #358f01  !important;
}

Tecnologias utilizadas

  • ⚛️ React 18
  • 📚 Storybook
  • ⛑ TypeScript
  • ⛑ Vite
  • 📏 Biome JS - Linter e Formatter
  • TailwindCSS

Feito com 💗 pelo Time de Produto - Brainz Group