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 🙏

© 2024 – Pkg Stats / Ryan Hefner

numl

v1.1.3

Published

Atomic UI Framework based on Web Components and Runtime CSS Generation for rapidly building interfaces that follow your Design System

Downloads

160

Readme

NPM Version Language grade: JavaScript npm Discord Rate on Openbase

Numl is a UI Design Language, UI Library of Web Components, and Runtime CSS Framework for rapidly building interfaces that follow your Design System 🌈

STORYBOOK | HANDBOOK | REFERENCE | REPL

Quick Start

Add the following code to your page.

via JsDelivr:

<script type="module" src="https://cdn.jsdelivr.net/npm/[email protected]/dist/index.js"></script>

That's all! Now you can use all elements and features of Numl 🚀

Try to add a simple element:

<nu-btn>My button</nu-btn>

See our Handbook for more details and other ways to install Numl.

Intro

  • Add a single JS-script to your page, and you are ready to create virtually any interface using only HTML syntax quickly. No bundler, no config, and no frustration.
  • Integrate Numl with popular JS-Frameworks. Use it with SSG if you like.
  • Use color generation system and styles-to-state bindings to decrease style declarations up to dozens of times compared to plain CSS.
  • Easily create your own Design System and UI Kit based on Numl. Example
  • Customize your elements at any level: Globally, in context, directly. Use design tokens (Custom Properties) for a more convenient way to customize.
  • Remove dozens of UI helper libraries from your project 'cause Numl can do it itself.
  • Add your own elements, style attributes, behaviors, design tokens, custom units, and more...
  • Use it for free. Contribute if you like it.

Who is Numl for?

  • For beginners Use a well-thought-out Design System with automatic Dark Scheme and High Contrast Mode for rapid development of adaptive and accessible UIs. Create new components by nesting or/and styling foundation elements.
  • For enthusiastic Customize the Numl Design System to the smallest detail in runtime using HTML. Use behaviors and control system to add simple interactions. Add your favorite framework (Vue.js, Angular, React, Svelte...) for complex logic.
  • For experts Use JavaScript API to create elements that follow your Design System on top of the Numl. Integrate Design Tokens into elements to have more control. Add your own unique elements, styles, behaviors, and tokens.

Another UI Framework? Why should I care?

  • All-in-one – Numl is both a markup language for rapidly building responsive interfaces and a set of ready-to-use highly-customizable accessible elements. So you can use a single comprehensive tool to compose and style web applications. It's also possible to create simple interactions without writing JS.
  • Unique – Numl is based on unique CSS generation technology that allows you to unleash all the power of modern CSS and take all styles under your control.
  • DX Focused – Numl is focused on providing the best possible Developer Experience. It has lots of built-in helpers and solutions for routine UI development and its atomic approach is convenient for maintaining and refactoring.
  • Universal – Numl is built on top of Web Components, a modern web API to create reusable UI elements, and it's compatible with most modern JS-frameworks. You can use it as is or create lightweight wrappers for your favorite framework to improve DX, SSR and SEO.

Learn more at NUML.DESIGN

Examples

Built with Numl

Browser Support

Numl is tested in the latest two versions of the following browsers:

  • Microsoft Edge
  • Google Chrome
  • Mozilla Firefox
  • Apple Safari
  • Apple iOS Safari
  • Google Android

Critical bug fixes in earlier versions will be addressed based on their severity and impact.

If you need to support IE11 or pre-Chromium Edge, this library isn't for you. Although web components can (to some degree) be polyfilled for legacy browsers, supporting them is outside the scope of this project. If you're using Numl in such a browser, you're gonna have a bad time.

Development

  • npm start run Numl Playground.
  • npm run build build the library to dist:
    • dist/index.js - ES6 tree-shaking friendly module. (Exports global Nude object)
  • npm run dev build the library, then keep rebuilding it whenever the source files change.
  • npm run test run tests.

Local playground

Run npm start to view test page with few examples.

Roadmap

Contribution

We are looking for contributors!

Numl is a big and ambitious project with open source that it has a unique approach in UI development.

Join us for creating a better Web for everyone!

If you want to join us or leave some feedback write to this email: [email protected]

And here is our Discord. (Ask your questions here!)

Contributors ✨

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!

License

MIT