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

mblabs-roccato-frontend-commons

v0.2.31

Published

Uma coleção de componentes e utilitários de front-end reutilizáveis, desenvolvidos com tecnologias modernas como React 19, TailwindCSS, Radix UI e muito mais. Criado para ser compartilhado entre projetos dentro do ecossistema MB Labs Roccato.

Downloads

2,212

Readme

🧩 mblabs-roccato-frontend-commons

Uma coleção de componentes e utilitários de front-end reutilizáveis, desenvolvidos com tecnologias modernas como React 19, TailwindCSS, Radix UI e muito mais. Criado para ser compartilhado entre projetos dentro do ecossistema MB Labs Roccato.


📦 Instalação

Utilize o pnpm como gerenciador de pacotes (Node.js 22+):

pnpm add mblabs-roccato-frontend-commons

Certifique-se de instalar também as dependências peer:

pnpm add react@^19.0.0 react-dom@^19.0.0 react-hook-form@^7.55.0

🚀 Como usar

Importe os componentes ou utilitários diretamente do pacote:

import { MeuComponente } from 'mblabs-roccato-frontend-commons';
import 'mblabs-roccato-frontend-commons/css'; // estilos padrões

✨ Destaques

  • ✅ Suporte ao React 19
  • 🎨 TailwindCSS 4 com variantes dinâmicas
  • ⚙️ Componentes acessíveis via Radix UI
  • 🧰 Drag & drop com DnD Kit
  • 📊 Visualizações com Recharts
  • 🧪 Totalmente tipado com TypeScript
  • 📚 Documentação interativa com Storybook
  • ⚡ Build otimizado com Vite

📂 Estrutura do Projeto

📁 src/
 ┣ 📦 components/
 ┣ ┣ 📦 atoms/
 ┣ ┣ 📦 molecules/
 ┣ ┣ 📦 organisms/
 ┣ ┣ 📄 index.ts
 ┣ 📦 hooks/
 ┣ 📦 utils/
 ┗ 📄 index.ts

🧪 Scripts

| Comando | Descrição | | ---------------------- | ------------------------------------------------- | | pnpm build | Compila a lib com TypeScript e Vite | | pnpm lint | Lint no projeto com ESLint | | pnpm storybook | Inicia o Storybook em ambiente de desenvolvimento | | pnpm build-storybook | Gera versão estática do Storybook |


📦 Adicionando novos ícones

Ícones Untitled UI vivem em src/components/icons/ (arquivo kebab-case, componente PascalCase, export no index.ts).

Processo completo: skill Cursor .cursor/skills/implementation/add-icons (SVG → componente React + export). Fonte: Untitled UI icons.

import { CheckCircle } from 'mblabs-roccato-frontend-commons'

📚 Storybook

Explore e teste os componentes interativamente:

pnpm storybook

Ou gere a versão estática:

pnpm build-storybook

🧩 Tecnologias Utilizadas

  • React 19
  • TailwindCSS
  • Radix UI
  • DnD Kit
  • Tanstack react-table
  • Tabler icons-react
  • Date fns
  • Recharts
  • React Hook Form
  • Zod
  • Storybook
  • Vite
  • TypeScript
  • ESLint

📝 Licença

MIT © Roccato — Feito com ❤️ pelo time MB Labs.