@anypoint-web-components/awc

Anypoint web components - base components library

Usage no npm install needed!

<script type="module">
  import anypointWebComponentsAwc from 'https://cdn.skypack.dev/@anypoint-web-components/awc';
</script>

README

Anypoint Web Components

This module consists of all base Anypoint web components. 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/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