@graviton/button

1.1.9 • Public • Published

Graviton Button

Button Web Component Designed By James Madden, Loosely following the Material Spec.

<gvt-button>Button</gvt-button>
<gvt-button filled>Filled Button</gvt-button>

Install

npm install @graviton/button

Import the component into your app:

import '@graviton/button';

To use your own build process on the component, import

import '@graviton/button/src/gvt-button.js';

Usage

To use Graviton Button in html:

<gvt-button></gvt-button>

To have the button filled, give it a filled attribute.

<gvt-button filled></gvt-button>

Compatibility

Graviton Button's default bundle should be compatible with the latest 2 versions of evergreen browsers, as well as IE 11. To build with different browser requirements, or to build a modern es2015 bundle, use the unbundled import (import '@graviton/button/src/gvt-button.js') and your own build process.

Readme

Keywords

none

Package Sidebar

Install

npm i @graviton/button

Weekly Downloads

1

Version

1.1.9

License

MPL-2.0

Unpacked Size

63.8 kB

Total Files

10

Last publish

Collaborators

  • jamesbmadden