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

@putridinar/nova-css

v1.0.4

Published

Modern, lightweight, utility-first CSS framework with design tokens, accessible components, and dark mode

Readme

🌟 NOVA CSS

Modern, lightweight, utility-first CSS framework with design tokens, accessible components, and dark mode.

npm version License: MIT PRs Welcome

✨ Features

  • 🎨 Design Tokens - Complete token system with colors, spacing, typography
  • 🧩 Components - Accessible, composable UI components
  • 📱 Responsive - Mobile-first with breakpoint utilities
  • 🌙 Dark Mode - Built-in light/dark/system theme support
  • ♿ Accessible - WCAG 2.2 AA compliant
  • ⚡ Lightweight - Minimal CSS output with CSS Layers
  • 🎯 Utility-First - Rapid UI development
  • 🔧 Customizable - Override any token with CSS custom properties
  • 🌳 Tree-Shakeable - Import only what you need
  • 📦 Framework Agnostic - Works with React, Vue, Svelte, or vanilla HTML

📦 Installation

# npm
npm install @putridinar/nova-css

# pnpm
pnpm add @putridinar/nova-css

# yarn
yarn add @putridinar/nova-css

🚀 Quick Start

CSS Import

/* Import everything */
@import "@putridinar/nova-css";

/* Or import individual layers */
@import "@putridinar/nova-css/reset";
@import "@putridinar/nova-css/tokens";
@import "@putridinar/nova-css/utilities";
@import "@putridinar/nova-css/components";
@import "@putridinar/nova-css/border-beam";

HTML Usage

<!DOCTYPE html>
<html lang="en" data-theme="light">
<head>
  <link rel="stylesheet" href="node_modules/@putridinar/nova-css/dist/index.css">
</head>
<body>
  <div class="nova-container nova-py-8">
    <h1 class="nova-text-3xl nova-font-bold nova-mb-4">Hello NOVA!</h1>
    <button class="nova-btn nova-btn-primary nova-btn-md">
      Get Started
    </button>
  </div>
</body>
</html>

React Components

import { BorderBeam } from '@putridinar/nova-css/react';

function App() {
  return (
    <BorderBeam color="primary" size="md">
      <div className="nova-p-8">
        <h3>Animated Border Beam</h3>
      </div>
    </BorderBeam>
  );
}

🎨 Design Tokens

Colors

/* Semantic colors */
--nova-color-primary
--nova-color-secondary
--nova-color-success
--nova-color-warning
--nova-color-danger
--nova-color-info
--nova-color-background
--nova-color-surface
--nova-color-text
--nova-color-muted
--nova-color-border

/* Color scale (50-950) */
--nova-primary-50 through --nova-primary-950
--nova-secondary-50 through --nova-secondary-950
/* etc. */

Typography

--nova-font-sans
--nova-font-mono
--nova-font-serif
--nova-font-xs through --nova-font-6xl
--nova-weight-normal | medium | semibold | bold

Spacing

--nova-space-0 through --nova-space-64

🛠️ Utility Classes

Layout

<div class="nova-flex nova-items-center nova-justify-between nova-gap-4">
<div class="nova-grid nova-grid-cols-3 nova-gap-6">
<div class="nova-container nova-mx-auto">

Responsive

<div class="nova-flex nova-flex-col md:nova-flex-row nova-gap-4">
<div class="nova-hidden md:nova-block">
<div class="nova-text-lg md:nova-text-xl lg:nova-text-2xl">

Spacing

<div class="nova-p-4 nova-m-2">
<div class="nova-px-6 nova-py-4">
<div class="nova-mt-8 nova-mb-4">

🧩 Components

Button

<button class="nova-btn nova-btn-primary nova-btn-md">Primary</button>
<button class="nova-btn nova-btn-outline nova-btn-lg">Outline</button>
<button class="nova-btn nova-btn-ghost nova-btn-sm">Ghost</button>

Card

<div class="nova-card">
  <div class="nova-card-header">Header</div>
  <div class="nova-card-body">Body</div>
  <div class="nova-card-footer">Footer</div>
</div>

Alert

<div class="nova-alert nova-alert-success">
  <span>✓</span>
  <div>Success message</div>
</div>

Badge

<span class="nova-badge nova-badge-primary">New</span>
<span class="nova-badge nova-badge-success">Active</span>

✨ Border Beam Effects

Animated gradient border beams inspired by Magic UI:

<div class="nova-border-beam nova-border-beam--primary">
  <div class="nova-border-beam__content nova-p-8">
    Animated gradient border
  </div>
</div>

<!-- Rainbow multi-color -->
<div class="nova-border-beam nova-border-beam--rainbow nova-border-beam--lg">
  <div class="nova-border-beam__content nova-p-8">
    Rainbow beam
  </div>
</div>

Modifiers:

  • Colors: --primary, --secondary, --success, --warning, --danger, --info, --rainbow
  • Sizes: --sm, --md, --lg
  • Speed: --slow, --fast

🌙 Dark Mode

<!-- Light mode -->
<html data-theme="light">

<!-- Dark mode -->
<html data-theme="dark">

<!-- System preference -->
<html data-theme="system">

🔧 Customization

Override design tokens in your CSS:

:root {
  --nova-color-primary: #6366f1;
  --nova-font-sans: 'Inter', sans-serif;
  --nova-radius-lg: 0.75rem;
}

🏗️ Architecture

@layer nova-reset      → CSS Reset (box-sizing, margins, etc.)
@layer nova-tokens     → Design Tokens (CSS Custom Properties)
@layer nova-utilities  → Utility Classes (flex, grid, spacing, etc.)
@layer nova-components → UI Components (button, card, modal, etc.)

CSS Layers ensure proper cascade control. Your custom CSS always wins.

📦 Package Exports

// Main CSS
import '@putridinar/nova-css';

// Individual layers
import '@putridinar/nova-css/reset';
import '@putridinar/nova-css/tokens';
import '@putridinar/nova-css/utilities';
import '@putridinar/nova-css/components';
import '@putridinar/nova-css/border-beam';

// React components
import { BorderBeam } from '@putridinar/nova-css/react';

🌐 Browser Support

  • Chrome/Edge 90+
  • Firefox 88+
  • Safari 15+
  • iOS Safari 15+

📚 Documentation

Full documentation available at nova-css

🤝 Contributing

Contributions are welcome! See CONTRIBUTING.md for details.

# Clone the repository
git clone https://github.com/putridinar/nova-css.git
cd nova-css

# Install dependencies
npm install

# Start development server
npm run dev

# Build framework
npm run build:framework

📄 License

MIT © Putri Dinar

🙏 Acknowledgments

📞 Contact


Made with ❤️ by Putri Dinar