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

it-data-nexus-ui-library

v4.0.1

Published

Nexus core components

Readme

it-data-nexus-ui-library

The shared, Sage-themed component library for every Nexus frontend, built on MUI. Build UI from these components, not from @mui/material. Import icons from @mui/icons-material. If a component is missing, raise it for this library first.

Install

npm i it-data-nexus-ui-library

npm 7+ installs the peer dependencies for you (react, @mui/material, @mui/x-data-grid, @mui/x-date-pickers, date-fns, react-day-picker, react-markdown, remark-gfm, @xyflow/react and the rest). Declare them in your app's package.json as well, so their versions are yours to control. The @rjsf/* peers are only needed for SchemaForm, below.

Wrap the app in ThemeModeProvider. It sets up the Nexus theme and remembers the user's light/dark choice; read or change it with useThemeMode().

import { ThemeModeProvider } from "it-data-nexus-ui-library";

<ThemeModeProvider defaultMode="light">
  <App />
</ThemeModeProvider>

Favicon

Components bundle their own fonts and images. Only the favicon needs the files copied into your app, because index.html links to it. Add a postinstall script (cpx2 is the package the template uses):

"postinstall": "cpx \"node_modules/it-data-nexus-ui-library/dist/assets/**\" public/assets/it-data-nexus-ui-library/"
<link rel="icon" type="image/svg+xml" href="/assets/it-data-nexus-ui-library/images/nexus-logo-favicon.svg" />
<link rel="icon" href="/assets/it-data-nexus-ui-library/images/favicon.ico" />

If you can't use index.html, <FaviconLinks /> renders the same links at runtime.

Separate entries

SchemaForm wraps @rjsf/mui, so it is not in the main entry. Install @rjsf/mui @rjsf/core @rjsf/utils @rjsf/validator-ajv8 and import from the subpath:

import { SchemaForm } from "it-data-nexus-ui-library/schema-form";

NexusFlow (node graphs) needs its stylesheet imported once:

import "it-data-nexus-ui-library/react-flow.css";
import { NexusFlow, FlowControls } from "it-data-nexus-ui-library";

The canvas fills its parent, so give the parent a height. There is no auto-layout: pass positioned nodes.

Development

npm run storybook   # component stories on :6006
npm run lint
npm run test:unit
npm run build

Every component needs a story. See CLAUDE.md for the full rules. Publishing (npm version, npm publish) is done by the maintainer.