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

@revuu/ds

v1.2.0

Published

Revuu Design System - Shared tokens, components and utilities

Downloads

294

Readme

@revuu/ds

Design System oficial do ecossistema Revuu. Componentes React com Tailwind CSS, Radix UI e acessibilidade.

npm version License: MIT

Instalação

# npm
npm install @revuu/ds

# pnpm
pnpm add @revuu/ds

# yarn
yarn add @revuu/ds

Configuração

1. Configure o Tailwind CSS

// tailwind.config.js
module.exports = {
  presets: [require('@revuu/ds/tailwind-preset')],
  content: [
    './app/**/*.{js,ts,jsx,tsx}',
    './components/**/*.{js,ts,jsx,tsx}',
    './node_modules/@revuu/ds/dist/**/*.{js,mjs}',
  ],
}

2. Importe os estilos

// app/layout.tsx ou globals.css
import '@revuu/ds/styles.css'

Uso

import { Button, Card, Input, Dialog } from '@revuu/ds'

function MyComponent() {
  return (
    <Card>
      <Input placeholder="Digite seu email" />
      <Button variant="primary">Enviar</Button>
    </Card>
  )
}

Componentes Disponíveis

Básicos

  • Button - Botões com variantes (primary, secondary, outline, ghost, destructive)
  • Input - Campo de entrada de texto
  • Textarea - Área de texto
  • Label - Rótulos para formulários
  • Badge - Badges/Tags

Layout

  • Card - Container com sombra
  • Separator - Divisor visual
  • AspectRatio - Manter proporção de mídia
  • ScrollArea - Área com scroll customizado

Formulários

  • Checkbox - Caixa de seleção
  • RadioGroup - Grupo de radio buttons
  • Select - Dropdown de seleção
  • Switch - Toggle on/off
  • Slider - Seletor de range
  • DatePicker - Seletor de data
  • ColorPicker - Seletor de cor
  • FileUpload - Upload de arquivos
  • InputOTP - Input para código OTP

Navegação

  • Tabs - Navegação por abas
  • Breadcrumb - Trilha de navegação
  • NavigationMenu - Menu de navegação
  • Pagination - Paginação
  • DropdownMenu - Menu dropdown

Feedback

  • Dialog - Modal
  • AlertDialog - Modal de confirmação
  • Toast - Notificações
  • Tooltip - Dicas de ferramenta
  • Progress - Barra de progresso
  • Skeleton - Placeholder de loading

Dados

  • Table - Tabela básica
  • DataTable - Tabela avançada com sort/filter
  • Timeline - Linha do tempo
  • StatCard - Cards de métricas
  • EmptyState - Estados vazios
  • Calendar - Calendário
  • Chart - Gráficos

Avançados

  • Accordion - Seções colapsáveis
  • Collapsible - Colapsável simples
  • HoverCard - Card no hover
  • Popover - Popover genérico
  • ContextMenu - Menu de contexto
  • Command - Paleta de comandos
  • Sheet - Painel lateral
  • Carousel - Carrossel
  • Resizable - Painéis redimensionáveis
  • Avatar - Avatar de usuário

Design Tokens

import { colors, spacing, typography } from '@revuu/ds/tokens'

Cores do Tema

| Nome | Hex | |------|-----| | Primary (Revuu Orange) | #F59E0B | | Hub Purple | #8600D3 | | Success | #22C55E | | Error | #EF4444 | | Warning | #EAB308 | | Info | #3B82F6 |

Brand Assets

SVG logos e ícones estão disponíveis na pasta assets/:

  • LogoRevuu.svg - Logo principal
  • LogoHub.svg - Logo do Hub
  • LogoOps.svg - Logo do Ops
  • IconRevuu.svg - Ícone do app
  • FaviconRevuu.svg - Favicon

Desenvolvimento

# Instalar dependências
pnpm install

# Rodar Storybook
pnpm storybook

# Build
pnpm build

# Type check
pnpm typecheck

# Publicar nova versão
pnpm release:patch  # 0.1.0 -> 0.1.1
pnpm release:minor  # 0.1.0 -> 0.2.0
pnpm release:major  # 0.1.0 -> 1.0.0

Publicação

NPM (público)

  1. Configure o token NPM:

    npm login
    # ou
    echo "//registry.npmjs.org/:_authToken=YOUR_TOKEN" >> ~/.npmrc
  2. Publique:

    pnpm release:patch

GitHub Actions (automático)

O workflow .github/workflows/publish.yml publica automaticamente:

  • Ao criar uma release no GitHub
  • Manualmente via Actions tab

Configure o secret NPM_TOKEN no repositório.

Links

Licença

MIT © Revuu