Skip to content

ant478/web-components

Repository files navigation

ant478 Web Components

My experiments with web components.

Installation

npm i @ant478/web-components

Usage

// index.js
// importing and defining custom element

import { Logo } from '@ant478/web-components';

if (!customElements.get('ant478-logo')) {
    customElements.define('ant478-logo', Logo);
}

// index.html
// using it in html

<ant478-logo></ant478-logo>

For components list and configuration options see storybook - https://ant478-web-components-fe0a38cee350.herokuapp.com/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published