elements-x

Collection of simple, customizable and extendible custom elements

Usage no npm install needed!

<script type="module">
  import elementsX from 'https://cdn.skypack.dev/elements-x';
</script>

README

image

Watch the video

Use with npm install

$ npm install elements-x --save

To use all custom elements

import { defineAll } from "elements-x";
defineAll();

To use a single custom elements

import { XButton } from "elements-x";
XButton.define();

Use with script tag

  • Add script to head
    <script src="//unpkg.com/elements-x/dist/elements-x.min.js"></script>
    

Components

How Is It Different?

  • It’s custom-elements, which works like html tags
  • NOT dependent to any framework; Angular, React, nor, VueJS
  • Customizable look-and-feel