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

@wealthx/ui

v1.2.0

Published

A comprehensive React component library and design system built on [MUI (Material UI)](https://mui.com/), with tenant-aware theming, design tokens, and charts.

Readme

@wealthx/ui

A comprehensive React component library and design system built on MUI (Material UI), with tenant-aware theming, design tokens, and charts.

Installation

npm install @wealthx/ui
# or
yarn add @wealthx/ui

Peer dependencies

npm install react react-dom

Quick start

Wrap your app with the ThemeProvider and start using components:

import { ThemeProvider } from "@wealthx/ui/theme";
import { Button } from "@wealthx/ui/button";
import { Typography } from "@wealthx/ui/typography";

function App() {
  return (
    <ThemeProvider primary="#33FF99" secondary="#162029">
      <Typography variant="h4">Hello WealthX</Typography>
      <Button variant="contained">Get started</Button>
    </ThemeProvider>
  );
}

Theming

The theme system generates a full MUI theme from two tenant-driven brand colors. All foundation tokens (text, background, border, state colors, gray scale) are built in.

import { ThemeProvider } from "@wealthx/ui/theme";

<ThemeProvider primary="#5B2EFF" secondary="#0A1628">
  {children}
</ThemeProvider>

You can also create a theme object directly for advanced use cases:

import { createDesignTheme } from "@wealthx/ui/theme";

const theme = createDesignTheme({
  primary: "#5B2EFF",
  secondary: "#0A1628",
});

CSS variables

Generate CSS custom properties from your theme config:

import { buildCssVariables } from "@wealthx/ui/theme";

const vars = buildCssVariables({ primary: "#5B2EFF", secondary: "#0A1628" });

Design tokens

Foundation colors, typography scales, and spacing are all exported:

import {
  FOUNDATION_COLORS,
  GRAY_SCALE,
  CHART_COLORS,
  FONT_FAMILY_SANS,
  TYPOGRAPHY,
  SPACING_SCALE,
} from "@wealthx/ui/theme";

Components

Every component is a thin, typed wrapper around its MUI counterpart — props are fully compatible.

| Category | Components | |---|---| | Inputs | Button, IconButton, ButtonGroup, Checkbox, Radio, RadioGroup, Select, Slider, Switch, TextField, Autocomplete, Rating, ToggleButton, ToggleButtonGroup, SelectionButtonGroup, Fab | | Data display | Typography, Avatar, Badge, Chip, Divider, List, Table, Tooltip, ImageList | | Feedback | Alert, Dialog, Progress, Skeleton, Snackbar, Backdrop | | Surfaces | Accordion, Card, Paper, AppBar | | Navigation | Breadcrumbs, Drawer, Link, Menu, Pagination, SpeedDial, Stepper, Tabs, BottomNavigation | | Layout | Box, Container, Grid, Stack, Masonry | | Timeline | Timeline, TimelineItem, TimelineSeparator, TimelineConnector, TimelineDot, TimelineContent | | Charts | Chart components via @wealthx/ui/charts (built on Chart.js) |

Import pattern

Each component has its own entry point for optimal tree-shaking:

import { Button } from "@wealthx/ui/button";
import { Card } from "@wealthx/ui/card";
import { CardContent } from "@wealthx/ui/card-content";
import { TextField } from "@wealthx/ui/text-field";
import { Stack } from "@wealthx/ui/stack";

Charts

Built on Chart.js and react-chartjs-2:

import { /* chart components */ } from "@wealthx/ui/charts";

The theme includes a purpose-built CHART_COLORS palette with 10 series colors.

License

MIT