Clean & accessible webcomponents

Usage no npm install needed!

<script type="module">
  import adriengibratUiComponents from 'https://cdn.skypack.dev/@adriengibrat/ui-components';



This webcomponents follows the open-wc recommendation.


npm i ui-components


Import individual component

<script type="module" src="./lib/browser/ui-button.js"></script>

Import all components

<script type="module" src="./lib/browser/index.js"></script>

Linting with ESLint, Prettier, and Types

To automatically fix the project linting errors, run

npm run lint


To run the suite of tests, run

npm test

To run the tests in watch mode (for TDD, for example), run

npm run test:watch

Demoing with Storybook

To run a local instance of Storybook for your component, run

npm start

To build a docs version of Storybook, run

npm run docs