Skip to content

koddsson/primer-button-element

Repository files navigation

<primer-button> element

Boilerplate for creating a custom element.

Installation

$ npm install @koddsson/primer-button-element

Usage

import '@koddsson/primer-button-element'
<primer-button></primer-button>

Browser support

Browsers without native custom element support require a polyfill.

  • Chrome
  • Firefox
  • Safari
  • Microsoft Edge

Development

npm install
npm test

License

Distributed under the MIT license. See LICENSE for details.

About

A implementation of a Primer Button as a Web Component

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks