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

0.0.2 • Public • Published

<ui-components>

This webcomponents follows the open-wc recommendation.

Installation

npm i ui-components

Usage

Import individual component

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

Import all components

<script type="module" src="./lib/browser/index.js"></script>
<ui-button>button</ui-button>
<ui-avatar>email@example.com</ui-avatar>
...

Linting with ESLint, Prettier, and Types

To automatically fix the project linting errors, run

npm run lint

Testing

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

Readme

Keywords

none

Package Sidebar

Install

npm i @adriengibrat/ui-components

Weekly Downloads

17

Version

0.0.2

License

MIT

Unpacked Size

282 kB

Total Files

105

Last publish

Collaborators

  • adriengibrat