@anypoint-web-components/awc
v3.0.14
Published
Anypoint web components - base components library
Downloads
543
Readme
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.
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