numl
npm i numl

numl

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

by numldesign

1.1.3 (see all)License:MITTypeScript:Not FoundCategories:Vue Design System
npm i numl
Readme

Numl.Design logo

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/numl@1.1.2/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: inbox@numl.design

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

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Andrey Yamanov

💻 🐛 💼 ğŸŽ¨ 📖 🤔 ⚠️

Shubham Kaushal

🐛 💼 ğŸŽ¨ 📖 🤔 ⚠️

Nurbek Akhmedov

⚠️ 🐛 🤔

katrinLuna

📖 ⚠️ 🐛 🤔

Dmitry Patsura

📖

Andrey Skladchikov

🐛 🤔

Leonid Yakovlev

🤔 ⚠️

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

License

MIT

No Rating
0
Rate
Easy to Use1

Downloads/wk

36

GitHub Stars

302

LAST COMMIT

2mos ago

MAINTAINERS

3

CONTRIBUTORS

4

OPEN ISSUES

8

OPEN PRs

7
VersionTagPublished
1.1.3
latest
2mos ago
0.12.0-beta.4
beta
2yrs ago
No tutorials found
Add a tutorial