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

@reinvented/design

v1.2.1

Published

The opinionated visual foundation for all Reinvented apps. Components, patterns, layouts, conventions, rules, and documentation.

Downloads

1,593

Readme

Reinvented Design System

The opinionated visual foundation for all Reinvented apps. Components, patterns, layouts, conventions, rules, and documentation.

Quick Start

npm install @reinvented/design
<script setup>
import { Button, Card, Input, Badge, Dialog } from '@reinvented/design'
</script>

Stack

  • Components: Shadcn-vue (all components, styled with our tokens)
  • Primitives: Radix Vue (accessible headless components)
  • Styling: Tailwind CSS with design tokens
  • Icons: Lucide Vue Next (no emojis, ever)
  • Typography: Inter (via Google Fonts)
  • Linting: Built-in ESLint plugin enforcing design rules

Consumer Setup

1. Install dependencies

# The design system (includes all component + ESLint deps)
npm install @reinvented/design

# Required dev dependencies for Tailwind CSS processing
npm install -D tailwindcss@^3.4 postcss@^8.4 autoprefixer@^10.4 tailwindcss-animate@^1.0

2. Tailwind CSS config

Create tailwind.config.js in your app root. Extend the DS config — this gives you all design tokens, theme colors, animations, and font family:

import baseConfig from '@reinvented/design/tailwind.config.js'

export default {
  ...baseConfig,
  content: [
    './index.html',
    './src/**/*.{vue,js,ts,jsx,tsx}',
    // Include DS source so Tailwind picks up classes used inside components
    './node_modules/@reinvented/design/src/**/*.{vue,ts}',
  ],
}

3. PostCSS config

Create postcss.config.js:

export default {
  plugins: {
    tailwindcss: {},
    autoprefixer: {},
  },
}

4. CSS entry point

Create src/assets/main.css (or similar) and import the DS styles. This loads the design tokens (CSS variables) and Tailwind directives:

@import '@reinvented/design/styles';

Then import it in your app entry (main.js or main.ts):

import './assets/main.css'

5. Dark mode

The DS uses the class strategy for dark mode. Add class="dark" to <html> for dark theme:

<html lang="en" class="dark">

All color tokens automatically switch between light and dark values.

6. ESLint (recommended)

The DS ships an ESLint plugin that enforces design system rules. Create eslint.config.js:

import recommended from '@reinvented/design/eslint/recommended'

export default [
  ...recommended,
  // Your custom overrides (optional)
]

This enables:

| Rule | Severity | What it catches | |------|----------|-----------------| | no-raw-button | error | Raw <button> → use <Button> | | no-raw-input | error | Raw <input> → use <Input> | | no-raw-select | error | Raw <select> → use <Select> | | no-raw-textarea | error | Raw <textarea> → use <Textarea> | | no-browser-dialogs | error | alert(), confirm(), prompt() → use Dialog/Toast | | no-emoji | error | Emoji characters → use Lucide icons | | no-hardcoded-colors | warn | Inline hex/rgb colors → use token variables | | no-arbitrary-tailwind | warn | text-[#333] → use token classes |

Install ESLint if not already present:

npm install -D eslint

Structure

src/
  components/ui/    All styled components
  patterns/         Reusable compositions (ListView, DetailView, etc.)
  layouts/          Page-level layout components with slots
  lib/              Utilities (cn, etc.)
  styles/           Tokens, CSS variables
  eslint/           ESLint plugin + recommended config
docs/
  rules.md          Hard design rules
  conventions.md    Opinionated UX decisions
  visual-polish.md  Animations, transitions, polish guidelines
  components/       Per-component usage guides
  patterns/         Per-pattern docs with skeleton code
  layouts/          Per-layout docs with skeleton code
examples/           Full skeleton examples

Documentation

Contributing

Agents and humans can propose changes via PRs. See conventions for design principles.