2.0.0-10 • Published 2 years ago

@uiwebkit/mat v2.0.0-10

Weekly downloads
-
License
CC-BY-4.0
Repository
github
Last release
2 years ago

Built With Stencil

Material Design Kit

Material Design Kit is a set of Web Components & Custom Elements to use Material Design components in a declarative style.

Material Design Kit elements have three modes: 1. Custom Element - 100% convenience; 2. Web Component - 100% security; 3. Custom Element Wrapper - 100% customization;

Material Design Kit takes TypeScript, JSX, a tiny virtual DOM layer, efficient one-way data binding, an asynchronous rendering pipeline (similar to React Fiber), and lazy-loading out of the box, and generates 100% standards-based Web Components & Custom Elements that run in any browser supporting the Custom Elements v1 spec.

Material Design Kit elements are just HTML Web Components & HTML Custom Elements, so they work in any major framework or with no framework at all.

Getting Started

Check out our docs here.

Using Components

There are two strategies we recommend for using Material Design Kit:

Script tag

  • Put a script tag <script type="module" src="https://cdn.jsdelivr.net/npm/@uiwebkit/mat@latest/dist/mat.esm.js"></script> in the head of your index.html
  • To support old browsers, also put a script tag <script nomodule src="https://cdn.jsdelivr.net/npm/@uiwebkit/mat@latest/dist/mat.js"></script> in the head of your index.html
  • Then you can use the element anywhere in your template, JSX, html etc

Node Modules

  • Run npm i @uiwebkit/mat --save
  • Put a script tag similar to this <script type="module" src="node_modules/@uiwebkit/mat/dist/mat.esm.js"></script> in the head of your index.html
  • To support old browsers, also put a script tag <script nomodule src="node_modules/@uiwebkit/mat/dist/mat.js"></script> in the head of your index.html
  • Then you can use the element anywhere in your template, JSX, html etc
2.0.0-10

2 years ago

2.0.0-6

2 years ago

2.0.0-5

2 years ago

2.0.0-4

2 years ago

2.0.0-3

2 years ago

2.0.0-9

2 years ago

2.0.0-8

2 years ago

2.0.0-7

2 years ago

2.0.0-2

2 years ago

2.0.0-1

2 years ago

2.0.0-0

2 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.1.2

3 years ago

1.0.0

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.4

3 years ago

0.0.1

3 years ago