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

@nvidia/foundations-react-core

v1.7.0

Published

A React implementation of Kaizen UI Foundations. This package is unstyled.

Readme

Kaizen UI Foundations — React Core

Core React components for Kaizen UI Foundations, NVIDIA's design system. Styles available from CDN.

About this package

This package is published under the Apache 2.0 License to support NVIDIA products and projects that are distributed as open source. It is not intended for general public consumption, and we do not recommend adopting it outside of NVIDIA-affiliated projects.

Installation

pnpm add @nvidia/foundations-react-core

Styles

Kaizen UI publishes pre-built stylesheets to the NVIDIA web assets CDN. Pin the version to the @nvidia/foundations-react-core version you have installed.

| File | Description | | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | | base-external.css | Base theme for external projects: CSS reset, design tokens, light/dark/density themes, MIT-compatible icon set, web-safe fallback fonts. | | base.css | Same as base-external.css but with NVIDIA proprietary icons and NVIDIA Sans. Only use this in NVIDIA-licensed projects. | | components.css | Default component styles. Requires base-external.css (or base.css) to be loaded first. |

CDN URL pattern:

https://webassets.nvidia.com/kaizen-ui-foundations/<version>/<file>

Option 1 — Load directly from the CDN

Simplest approach. Add <link> tags to your HTML or @import them from your CSS, replacing <version> with the version of @nvidia/foundations-react-core you have installed:

<link
  rel="stylesheet"
  href="https://webassets.nvidia.com/kaizen-ui-foundations/<version>/base-external.css"
/>
<link
  rel="stylesheet"
  href="https://webassets.nvidia.com/kaizen-ui-foundations/<version>/components.css"
/>

Option 2 — Bundle the CSS with your app

Download the CSS at build time so your app stays self-contained and works offline. Add a prebuild/predev script that fetches the stylesheets for the version of @nvidia/foundations-react-core you have installed, writes them to a local file, and imports that file from your CSS.

A minimal example:

// scripts/fetch-kui-styles.mjs
import { mkdir, readFile, writeFile } from "node:fs/promises";

const { version } = JSON.parse(
  await readFile(
    "./node_modules/@nvidia/foundations-react-core/package.json",
    "utf8",
  ),
);
const CDN = `https://webassets.nvidia.com/kaizen-ui-foundations/${version}`;
const FILES = ["base-external.css", "components.css"];

const parts = await Promise.all(
  FILES.map(async (file) => {
    const res = await fetch(`${CDN}/${file}`);
    if (!res.ok) throw new Error(`${file}: ${res.status}`);
    return `/* --- ${file} --- */\n${await res.text()}`;
  }),
);

await mkdir("src/generated", { recursive: true });
await writeFile(`src/generated/kui-styles.css`, parts.join("\n\n"));

Wire it into package.json:

{
  "scripts": {
    "predev": "node scripts/fetch-kui-styles.mjs",
    "prebuild": "node scripts/fetch-kui-styles.mjs"
  }
}

Then import the generated file from your CSS:

/* src/index.css */
@import "./generated/kui-styles.css";

Bump the @nvidia/foundations-react-core version, re-run the script, and your CSS is back in lockstep.

Usage

import { Button } from "@nvidia/foundations-react-core";

export default function Home() {
  return <Button onClick={() => alert("Hello!")}>Click me</Button>;
}

Types are exported alongside their components:

import type { ButtonProps } from "@nvidia/foundations-react-core";

Framework notes

Next.js

For App Router projects, import the base CSS from your root app/layout.tsx (or a stylesheet imported there). If Next.js complains about CSS imports from node_modules, add the package to transpilePackages:

// next.config.mjs
const nextConfig = {
  transpilePackages: ["@nvidia/foundations-react-core"],
};
export default nextConfig;

TypeScript

Requires TypeScript 5.0+ with moduleResolution set to bundler:

// tsconfig.json
{
  "compilerOptions": {
    "moduleResolution": "bundler",
  },
}

See the TypeScript docs for context.

AI skills

KUI ships agent skills that give LLMs full context on our components and design patterns. Sync them into your project:

pnpm exec kui-sync-skills

By default this writes to .agents/skills/kaizen-ui/. If the skill already exists in .agents/, .claude/, or .cursor/, it updates in place.

Options:

  • --dir <path> — write to a specific directory (e.g. --dir .claude)
  • --dry-run — preview what would change without writing
  • --force — overwrite even if the installed version already matches

To keep skills up-to-date as the package version changes, add the sync to your prepare script:

{
  "scripts": {
    "prepare": "kui-sync-skills"
  }
}

If your project uses TanStack Intent, KUI skills are also discoverable directly from node_modules via npx @tanstack/intent list.

Documentation

  1. Bundled AI skills. Run pnpm exec kui-sync-skills (above) and let your editor's agent / LLM pull in component and pattern context directly from node_modules.
  2. IntelliSense in your editor. Every component and prop is documented inline with JSDoc, so hovering, autocomplete, and inline type signatures surface the same information you'd find on a docs site.

Related packages