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

mattersui

v1.0.0

Published

A responsive, clean, and robust UI component library for Matters AI

Readme

MattersUI

Features

  • 🚀 Highly Optimized: Lightweight and performance-focused
  • 🎨 Customizable: Easily adapt components to your brand
  • 📱 Responsive: Works on all screen sizes
  • Modern: Built with React and TypeScript
  • 🔄 Consistent: Unified design language across components
  • 🌙 Dark Mode: Built-in dark mode support
  • Accessible: WCAG 2.1 AA compliant components

Installation

# npm
npm install mattersui

# yarn
yarn add mattersui

# pnpm
pnpm add mattersui

Quick Start

import React from 'react';
import { Button, Switch, SwitchList, CodeViewer, HeaderLayout, PageLayout } from 'mattersui';
import { ThemeProvider } from '@mui/material/styles';
import CssBaseline from '@mui/material/CssBaseline';

function App() {
  const [selected, setSelected] = React.useState('option1');
  
  return (
    <ThemeProvider theme={yourTheme}>
      <CssBaseline />
      <PageLayout>
        <HeaderLayout
          headerTitle="My Page"
          primaryCTOs={<Button variant="primary">Action</Button>}
        />
        <SwitchList
          options={[
            { label: 'Option 1', value: 'option1' },
            { label: 'Option 2', value: 'option2' }
          ]}
          value={selected}
          onChange={setSelected}
        />
        <CodeViewer
          code="const hello = 'world';"
          language="javascript"
        />
      </PageLayout>
    </ThemeProvider>
  );
}

Peer Dependencies

MattersUI v1.0.0 requires the following peer dependencies:

npm install react react-dom @mui/material @emotion/react @emotion/styled react-hook-form

Documentation

For full documentation, visit mattersui.eshank.tech.

Components

MattersUI v1.0.0 includes the following stable components migrated from Matters AI's production codebase:

Core Components

  • Button - Customizable button with multiple variants (primary, secondary, alert, premium) and types (solid, outlined)
  • Switch - Multi-style switch component (toggle, click, radio, ring, checkbox)
  • SwitchList - Radio-like switch list with react-hook-form integration
  • CodeViewer - Syntax-highlighted code viewer with multiple language support
  • HeaderLayout - Flexible page header layout component
  • PageLayout - Consistent page container with responsive spacing

Additional Components

  • Tag - Tag/badge component
  • Tabs - Tab navigation component
  • ThemeProvider - Theme context provider

Coming Soon

  • More components from the Matters AI product codebase
  • Enhanced documentation and examples

Customize Theme

MattersUI components use CSS variables for theming, compatible with Material-UI themes:

import { ThemeProvider, createTheme } from '@mui/material/styles';
import CssBaseline from '@mui/material/CssBaseline';

const theme = createTheme({
  // Your MUI theme configuration
});

function App() {
  return (
    <ThemeProvider theme={theme}>
      <CssBaseline />
      {/* Your application with MattersUI components */}
    </ThemeProvider>
  );
}

Components support CSS custom properties for colors:

  • --primary-normal, --primary-active, --primary-text, --primary-border
  • --secondary-normal, --secondary-active, --secondary-text, --secondary-border
  • --alert-normal, --alert-active, --alert-text, --alert-border
  • --premium-normal, --premium-active, --premium-text, --premium-border
  • --disabled-normal, --disabled-text

Browser Support

  • Chrome (latest)
  • Firefox (latest)
  • Safari (latest)
  • Edge (latest)
  • IE 11 (with polyfills)

Contributing

We welcome contributions! Please see our contributing guidelines for details.

License

This project is licensed under the MIT License - see the LICENSE file for details.