@smarts/smart-components
TypeScript icon, indicating that this package has built-in type declarations

0.0.9 • Public • Published

Built With Stencil

Smart Components

This is the repository for web components from the Smartmatic Design System.

Using these components

Script tag

  • Put these script tags in the head of your index.html:

    <script
      type="module"
      src="https://unpkg.com/@diondre27/smart-components@latest/dist/smarts/smarts.esm.js"
    ></script>
    <script
      nomodule=""
      src="https://unpkg.com/@diondre27/smart-components@latest/dist/smarts/smarts.js"
    ></script>
  • Then you can use the elements anywhere in your template, JSX, html etc

Node Modules

  • Run npm install my-component --save
  • Put these script tags in the head of your index.html:
    <script
      type="module"
      src="https://unpkg.com/@diondre27/smart-components@latest/dist/smarts/smarts.esm.js"
    ></script>
    <script
      nomodule=""
      src="https://unpkg.com/@diondre27/smart-components@latest/dist/smarts/smarts.js"
    ></script>
  • Then you can use the elements anywhere in your template, JSX, html etc

Readme

Keywords

none

Package Sidebar

Install

npm i @smarts/smart-components

Weekly Downloads

82

Version

0.0.9

License

MIT

Unpacked Size

792 kB

Total Files

213

Last publish

Collaborators

  • diondre27
  • warren488