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

minora

v0.1.1

Published

Elegant minimalist UI kit — clean components with warm gold accent, zero dependencies, CDN-ready

Readme

Minora

Elegant minimalist UI kit — clean components with warm gold accent, zero dependencies.

npm version license size cdn

Minora is a handcrafted UI kit built with vanilla HTML, CSS, and JavaScript. Every component uses CSS custom properties from a single source of truth — change one token, the entire system adapts. No frameworks. No dependencies. Just clean, elegant components.

┌─────────────────────────────────────────────────────┐
│  ╭────────────╮  ╭────────────╮  ╭────────────╮   │
│  │  Button    │  │   Badge    │  │   Toggle   │   │
│  ╰────────────╯  ╰────────────╯  ╰────────────╯   │
│                                                     │
│  ┌───────────────────────────────────────────┐     │
│  │  Input with label & helper text           │     │
│  └───────────────────────────────────────────┘     │
│                                                     │
│  ╭─ Radio ○ ─╮  ╭─ Checkbox ☑ ─╮  ╭─ Alert ─╮    │
│  ╰───────────╯  ╰──────────────╯  ╰─────────╯    │
│                                                     │
│  ┌───────────────────────────────────────────┐     │
│  │  Toast notification: ✓ Saved!             │     │
│  └───────────────────────────────────────────┘     │
│                                                     │
│  Modal backdrop with dialog [ Confirm ]           │
└─────────────────────────────────────────────────────┘

Quick Start — CDN

CSS Only

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/ilzamafif/minora@latest/dist/minora.min.css">

JS Only (modals, toasts, selects, tooltips)

<script src="https://cdn.jsdelivr.net/gh/ilzamafif/minora@latest/dist/minora.min.js"></script>

CSS + JS (complete)

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/ilzamafif/minora@latest/dist/minora.min.css">
<script src="https://cdn.jsdelivr.net/gh/ilzamafif/minora@latest/dist/minora.min.js"></script>

Specific Version (recommended for production)

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/ilzamafif/[email protected]/dist/minora.min.css">
<script src="https://cdn.jsdelivr.net/gh/ilzamafif/[email protected]/dist/minora.min.js"></script>

Design Tokens Only

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/ilzamafif/minora@latest/dist/tokens.css">

Complete Example

Copy-paste this into an .html file and open in your browser:

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Minora Quick Start</title>
  <link rel="stylesheet"
    href="https://cdn.jsdelivr.net/gh/ilzamafif/minora@latest/dist/minora.min.css">
</head>
<body style="max-width:480px; margin:4rem auto; padding:0 1rem;">

  <h1 style="font-family:var(--font-serif); font-size:var(--text-2xl);
              margin-bottom:var(--space-6);">Quick Start</h1>

  <!-- Button -->
  <button class="btn btn-primary btn-md" onclick="demo()">Click Me</button>

  <!-- Input -->
  <div class="input-group" style="margin-top:var(--space-6);">
    <label class="input-label" for="name">Full Name</label>
    <div class="input-wrapper">
      <input class="input input-md" id="name"
             type="text" placeholder="John Doe" />
    </div>
  </div>

  <!-- Toast (needs JS) -->
  <script src="https://cdn.jsdelivr.net/gh/ilzamafif/minora@latest/dist/minora.min.js"></script>
  <script>
    function demo() {
      ToastManager.show({
        type: 'success',
        message: 'It works! Minora is loaded via CDN.'
      });
    }
  </script>

</body>
</html>

Available Components

| Component | Description | Status | |---|---|---| | Button | Solid, outline, ghost, destructive — 3 sizes, icon-only, loading spinner | ✅ Stable | | Badge | Solid/subtle/outline — with dot indicator, notification overlay | ✅ Stable | | Tag | Dismissible tags with fade animation, clickable, icon support | ✅ Stable | | Avatar | Image/initials/icon fallback, status dots, overlapping groups | ✅ Stable | | Divider | Horizontal rules, text/icon separators, vertical separators | ✅ Stable | | Input | Default/filled/underline variants, icon addons, clear button | ✅ Stable | | Textarea | Auto-resize, character counter, validation states | ✅ Stable | | Select | Custom dropdown with search, grouped options, keyboard nav | ✅ Stable | | Multiselect | Tag-based selection, select all/clear, counter badge | ✅ Stable | | Checkbox | Standard/filled/card, radio buttons, segmented controls | ✅ Stable | | Toggle | Smooth animated switches with icon support | ✅ Stable | | Form Validation | Inline errors, password strength, form-level alerts | ✅ Stable | | Toast | 6 positions, progress bar, stacking, auto-dismiss, actions | ✅ Stable | | Modal | Focus trap, scroll lock, nested stacking, multi-step | ✅ Stable | | Dialog | Confirm, destructive, info, input-based confirmation | ✅ Stable | | Tooltip | 9 positions, auto-flip, rich content, interactive | ✅ Stable | | Popover | Click-triggered panels with header/body/footer | ✅ Stable | | Alert | Subtle/filled/outline, inline messages, page banners | ✅ Stable |


Customization

All colors, spacing, typography, and animation values come from tokens.css — a single source of truth. Override them after loading Minora CSS:

<link rel="stylesheet" href=".../minora.min.css">
<style>
  :root {
    /* Change accent color */
    --color-accent-500: #3b82f6;  /* blue instead of gold */
    --color-accent-600: #2563eb;
    --color-accent-700: #1d4ed8;

    /* Use your own fonts */
    --font-serif: 'Merriweather', serif;
    --font-sans:  'Source Sans 3', sans-serif;

    /* Adjust spacing */
    --space-4: 20px;  /* default: 16px */

    /* Customize focus ring */
    --focus-ring-color: var(--color-info);
  }
</style>

Full Token List

See tokens.css for all available custom properties:

| Category | Tokens | |---|---| | Colors | --color-neutral-* (50–950), --color-accent-* (50–950), --color-success-*, --color-warning-*, --color-error-*, --color-info-* | | Typography | --font-serif, --font-sans, --font-mono, --text-*, --leading-*, --tracking-*, --font-* | | Spacing | --space-0 to --space-32 (4px base) | | Radius | --radius-none, --radius-sm, --radius-md, --radius-pill | | Shadows | --shadow-sm, --shadow-md | | Transitions | --duration-*, --ease-*, --transition-* | | Z-Index | --z-base to --z-toast |


Design System

Palette: Warm gold (#d4872e) on cool gray — timeless, sophisticated, minimal.

Typography: Playfair Display (serif) for headings + Inter (sans-serif) for body. Classical meets modern.

Philosophy: Every value is a CSS custom property. Change one token, the entire system adapts. No hardcoded values anywhere.


Browser Support

| Browser | Version | |---|---| | Chrome | 88+ | | Firefox | 85+ | | Safari | 14.1+ | | Edge | 88+ | | Opera | 74+ |

Note: Some components use :has() selector (input focus states). Polyfill available at css-has-pseudo.


File Size

| File | Size | Gzip | |---|---|---| | minora.css | 246 KB | 38 KB | | minora.min.css | 112 KB | 22 KB | | minora.js | 39 KB | 13 KB | | minora.min.js | 22 KB | 9 KB | | tokens.css | 28 KB | 6 KB | | Total (min + gzipped) | | ~37 KB |


Build from Source

git clone https://github.com/ilzamafif/minora.git
cd minora
npm install
npm run build:all    # CSS + JS concat + minify
npm run watch        # auto-rebuild on changes

Build output: dist/ folder with concatenated and minified files, ready for CDN.


Project Structure

minora/
├── dist/                    ← CDN-ready files
│   ├── minora.css           ← All components
│   ├── minora.min.css       ← Minified
│   ├── minora.js            ← All JS modules
│   ├── minora.min.js        ← Minified
│   └── tokens.css           ← Standalone tokens
├── src/
│   ├── tokens.css           ← Design tokens (source of truth)
│   ├── components/          ← 13 CSS component files
│   └── js/                  ← 4 JS module files
├── docs/                    ← Documentation
├── package.json
├── build.mjs                ← Build script (csso + terser)
├── LICENSE                  ← MIT
└── README.md

Changelog

See CHANGELOG.md for the full version history.


Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-component)
  3. Commit your changes (git commit -m 'Add amazing component')
  4. Push to the branch (git push origin feature/amazing-component)
  5. Open a Pull Request

Guidelines:

  • All CSS values must use custom properties — no hardcoded colors or pixel values
  • Follow the existing naming convention: .component, .component-variant, .component-size
  • Include anatomy comments at the top of each component file
  • Test across Chrome, Firefox, Safari, and Edge

License

MIT — use freely in personal and commercial projects. Attribution appreciated but not required.


Built with ☕ by the Minora team.