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

@nofinite/nuicss

v1.0.0

Published

<div align="center">

Readme

NUI CSS

A zero-config, semantic utility CSS framework designed for modern web applications and effortless runtime theming.


Overview

NUI CSS provides a highly optimized, ahead-of-time (AOT) compiled utility class engine. It completely eliminates build-step complexities and solves the "dark mode class soup" by leveraging semantic CSS variables. Build beautiful, responsive layouts without ever touching a configuration file.

  • Zero-Config: Pure CSS. No PostCSS, no configuration files, and no JavaScript build steps required. Just link and build.
  • Semantic Theming: Effortless dark mode and runtime customizability powered by native CSS variables (e.g., bg-surface, text-primary).
  • Enterprise-Ready: Ships with both a standard version for rapid application development and a collision-proof nui- prefixed version to protect distributed UI components.

Installation

# pnpm
pnpm add @nofinite/nuicss

# npm
npm install @nofinite/nuicss

# yarn
yarn add @nofinite/nuicss

CDN (No build step)

You can use NUICSS directly in your HTML without any package manager or build tools.

Clean version (Standard utilities like .flex and .p-4):

<link
  rel="stylesheet"
  href="[https://cdn.jsdelivr.net/npm/@nofinite/nuicss@latest/dist/index.css](https://cdn.jsdelivr.net/npm/@nofinite/nuicss@latest/dist/index.css)"
/>

Prefixed version (Collision-proof utilities like .nui-flex and .nui-p-4):

<link
  rel="stylesheet"
  href="[https://cdn.jsdelivr.net/npm/@nofinite/nuicss@latest/dist/prefixed.css](https://cdn.jsdelivr.net/npm/@nofinite/nuicss@latest/dist/prefixed.css)"
/>

Quick Start

1. HTML Prototype

Simply link the CSS file from the CDN and start using the utility classes directly in your markup.

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>NUI CSS App</title>
  <link rel="stylesheet" href="[https://cdn.jsdelivr.net/npm/@nofinite/nuicss@latest/dist/index.css](https://cdn.jsdelivr.net/npm/@nofinite/nuicss@latest/dist/index.css)" />
</head>
<body class="bg-surface text-primary p-8">
  
  <div class="max-w-md mx-auto shadow-md rounded-lg p-6 border border-subtle">
    <h1 class="text-2xl font-bold mb-4">Hello NUI CSS</h1>
    <p class="text-muted">Building fast, semantic UIs without the configuration.</p>
  </div>

</body>
</html>

2. React / Modern Bundlers (Next.js, Vite, etc.)

If you installed via a package manager, import the utilities directly into your application's root layer (e.g., layout.tsx, main.tsx, or App.jsx):

// 1. Import the styling engine
import '@nofinite/nuicss'; // Standard clean utilities (.flex, .p-4)
// import '@nofinite/nuicss/prefixed'; // Collision-proof utilities (.nui-flex, .nui-p-4)

// 2. Build your component
export default function App() {
  return (
    <div className="flex flex-col items-center justify-center min-h-screen bg-surface p-4">
      <div className="p-8 shadow-lg rounded-xl border border-default w-full max-w-lg">
        <h1 className="text-3xl font-sans font-bold text-primary mb-2">
          Welcome to NUI CSS
        </h1>
        <p className="text-muted mb-6">
          Building fast, semantic UIs without the configuration.
        </p>
        <button className="bg-primary text-inverse px-4 py-2 rounded-md hover:opacity-80 transition-all" onClick={() => window.open("https://opensource.nofinite.com/docs/nuicss", "_blank", "noreferrer")>
          Get Started
        </button>
      </div>
    </div>
  );
}

Documentation

For full setup guides, the complete utility class reference, and theming instructions, read documentation.

License

This project is licensed under the Apache License, Version 2.0.

Feel free to use, modify, and share this project in your applications, products, and services. Attribution is welcome and appreciated, but never required.