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

@trinityui/design-system

v1.0.12

Published

Trinity Design System - A customizable MUI-based component library

Readme

Trinity Design System

Trinity Design System is an enterprise component platform built on MUI for Trinity LifeSciences.

npm version npm css package license

It provides:

  • A React component library: @trinityui/design-system
  • A CSS-only package for non-React apps: @trinityui/design-system-css

Architecture

Design Tokens -> Theme Layer -> React Components (@trinityui/design-system) -> React Consumer Apps
Design Tokens -> CSS Variables Build -> CSS Package (@trinityui/design-system-css) -> Angular / Vue / Static Apps

Packages

| Package | Use Case | |---|---| | @trinityui/design-system | React + MUI applications | | @trinityui/design-system-css | Angular, Vue, static HTML, or any CSS-only integration |

Installation

React package

pnpm add @trinityui/design-system react react-dom @mui/material @mui/icons-material @emotion/react @emotion/styled

CSS-only package

pnpm add @trinityui/design-system-css

React Quick Start

import { ThemeProvider, CssBaseline } from '@mui/material';
import { lightTheme } from '@trinityui/design-system';

export function AppProviders({ children }: { children: React.ReactNode }) {
  return (
    <ThemeProvider theme={lightTheme}>
      <CssBaseline />
      {children}
    </ThemeProvider>
  );
}

Import Strategy

Use MUI for standard UI primitives, and Trinity for domain-specific components and tokens.

import { Button, Card, TextField } from '@mui/material';
import { StatusIndicator, Toast, useToast } from '@trinityui/design-system';

Entry Points

| Import | Purpose | |---|---| | @trinityui/design-system | Full API | | @trinityui/design-system/essentials | Lean entry for common setup and core components | | @trinityui/design-system/theme | Theme-only exports | | @trinityui/design-system/tokens | Token-only exports | | @trinityui/design-system/data-table | DataTable exports (requires @mui/x-data-grid) | | @trinityui/design-system/css | CSS file from the React package |

Optional Feature Dependency

DataTable is intentionally isolated behind a subpath.

Install dependency only if you use it:

pnpm add @mui/x-data-grid

Import from:

import { DataTable } from '@trinityui/design-system/data-table';

CSS-Only Usage

Option 1: package CSS import

@import '@trinityui/design-system-css';

Option 2: direct file path

<link rel="stylesheet" href="node_modules/@trinityui/design-system-css/dist/trinity.css" />

Dark mode

<html data-theme="dark">

Theming

import { lightTheme, darkTheme } from '@trinityui/design-system';

const theme = isDarkMode ? darkTheme : lightTheme;

Development

pnpm install
pnpm run start
pnpm run build
pnpm run test
pnpm run lint

Release and Publishing

  • Push to main triggers publish workflows for:
    • @trinityui/design-system
    • @trinityui/design-system-css
  • Version is auto-bumped if the current version is already published.
  • CHANGELOG.md is generated during release workflow.

Support Docs

License

MIT