JSPM

numl

0.5.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 9
  • Score
    100M100P100Q62596F

Package Exports

  • numl

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (numl) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

NUDE Elements

NUDE Elements is the Bootstrap of the Future. It’s JS-powered CSS Framework, that reinvents the way we create modern web apps. With NUDE Elements you can build gorgeous dynamic accessible web interfaces writing only HTML. It’s ridiculously simple to connect your favorite framework in case you need more.

UNDER RAPID DEVELOPMENT, API is subject to change

  • Simple API of elements based on well-known web standards.
  • Powerful layout elements that help you create virtually any interface you want.
  • Responsiveness with effort so little you never seen before.
  • Future proof thanks to implementation based on Custom Elements.
  • Transferable markup to be easily copy-pasted to your new project.
  • Compatible with any popular framework: Vue, React, Angular, Svelte, etc...
  • Compact size with no dependencies.
  • Dark Mode effortlessly. Darker colors will be generated automatically based on themes you use in you app.
  • CSS Generation under the hood to create only CSS your application needs.
  • No Build Step needed. Edit attributes and move elements in runtime and see how they change instantly.
  • No-JS support with pregenerated CSS.
  • Support for all modern browsers. (small polyfill needed)
  • ARIA support.
  • Framework to create your own elements, modifiers and plugins.

In Action

You can see NUDE in action on the Sellerscale site.

Development status (v1)

Current status of development is HERE.

Here is our Trello Board.

Browser Support

Based on caniuse.com. Real-world support table will be presented after production-release.

Getting started

npm run build builds the library to dist, generating four files:

  • dist/numl.js - Classic JS-Bundle with all elements. Elements' CSS included. (Exposes global Nude object)
  • dist/numl.dev.js - Same as above but with helpful warnings and without minification. (Exposes global Nude object)
  • dist/numl.module.js - ES-module. Tree-shaking-friendly bundle. Elements' CSS included.
  • dist/numl.module.dev.js - Same as above but with helpful warnings and without minification.

npm run dev builds the library, then keeps rebuilding it whenever the source files change.

Usage

Add numl.js to your page and initialize it.

<script src="https://cdn.jsdelivr.net/npm/numl/dist/numl.js"></script>

And that's all! Now your application is NUDE-ready!

Try to write some HTML to build awesome interfaces.

<nu-card responsive="420px" width="clamp(320px, 100%, initial)">
  <nu-flex gap="1" items="start" flow="row|column">
    <nu-icon name="package" size="4"></nu-icon>
    <nu-flow gap=".5" grow="1">
      <nu-heading level="3">Product name</nu-heading>
      <nu-block>Very very long product description</nu-block>
      <nu-flex gap="1" items="center|start" flow="row|column-reverse">
        <nu-btn special>
          <nu-icon name="dollar-sign" inline></nu-icon>
          Order now
        </nu-btn>
        <nu-badge mod="lg|md">Only $99.99</nu-badge>
      </nu-flex>
    </nu-flow>
  </nu-flex>
</nu-card>

Nude Elements are also available via npm.

$ npm install numl --save

Import the module to your application:

import 'numl';

Local playground

Run npm run play to view test page with few examples.

Documentation

IN PROGRESS

License

MIT