npm.io
3.0.14 • Published 3 years ago

@anypoint-web-components/awc

Licence
Apache-2.0
Version
3.0.14
Deps
2
Size
4.7 MB
Vulns
0
Weekly
0
Stars
3

Anypoint Web Components

Base UI web components made for Material Design with the compatibility layer with Anypoint Platform. Use them to build an OSS app UI using Material Design with an ability to switch to Anypoint theme on demand.

tests

Published on NPM

Previous components

All components with @anypoint-web-components scope has been consolidate under this module. Use this module instead of installing individual packages.

Usage

Installation
npm install --save @anypoint-web-components/awc
Example use
<html>
  <head>
    <script type="module">
      import '@anypoint-web-components/awc/dist/define/anypoint-item.js';
    </script>
  </head>
  <body>
    <div role="listbox" slot="content">
      <anypoint-item>
        Option 1
      </anypoint-item>
      <anypoint-item>
        Option 2
      </anypoint-item>
      <anypoint-item>
        Option 3
      </anypoint-item>
      <anypoint-item>
        <p>Paragraph as a child</p>
      </anypoint-item>
    </div>
  </body>
</html>

Check the docs/ directory for a readme for each component.

Development

git clone https://github.com/anypoint-web-components/awc
cd awc
npm install
Running the demo locally
npm start
Running the tests
npm test

Keywords