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

@nestjs-dash/design-system

v1.4.0

Published

shadcn/ui + Tailwind design system and SDUI renderer for NestJS Dash

Readme

@nestjs-dash/design-system

A shadcn/ui + Tailwind CSS design system, plus the server-driven UI (SDUI) renderer that turns the JSON SchemaNode/ChartSpec trees produced by @nestjs-dash/core into React. This is the client-side rendering half of NestJS Dash's admin shell — @nestjs-dash/nestjs uses it for the built-in React SSR shell, but the components/renderer are usable standalone too. It depends only on @nestjs-dash/support for shared types — no coupling to @nestjs-dash/core's server-side builders beyond the JSON shapes they agree on.

Install

pnpm add @nestjs-dash/design-system react react-dom

react/react-dom ^19.0.0 are peer dependencies.

Subpath exports

This package publishes several entry points, not just the package root:

| Import | Contents | | ------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | | @nestjs-dash/design-system | Top-level renderer entry (renderSchemaNode, SchemaForm, DataTable, ChartWidget, ThemeToggle, …) | | @nestjs-dash/design-system/ui | Shared Tailwind utility class-string tokens (ui, btnClass) for Nest SSR templates, without the SDUI renderer | | @nestjs-dash/design-system/components/* | Individual components, importable one at a time | | @nestjs-dash/design-system/hooks/* | React hooks | | @nestjs-dash/design-system/lib/* | Utilities, including cn (class-name merge) | | @nestjs-dash/design-system/nestjs-dash.css (alias ./styles.css) | Compiled Tailwind stylesheet — import once at your app's root |

Usage

import { renderSchemaNode } from '@nestjs-dash/design-system';
import '@nestjs-dash/design-system/nestjs-dash.css';

// `node` is a `SchemaNode` (from @nestjs-dash/support) produced by an
// @nestjs-dash/core form/table builder and passed down as SSR props.
function Field({ node }: { node: SchemaNode }) {
  return renderSchemaNode(node);
}

Notable renderers: SchemaForm (form field trees), DataTable (resource tables), ChartWidget (renders a ChartSpec from @nestjs-dash/support using Recharts), upload/repeater/rich-editor fields, and ThemeToggle for light/dark mode.

Docs: Design system.

License

MIT