3.0.0-beta.3 • Published 6 years ago

@kano/kwc-button v3.0.0-beta.3

Weekly downloads
-
License
-
Repository
-
Last release
6 years ago

\<kwc-button>

An atomic button element with Kano styling.

Purpose:

To provide generic button styling and interaction across Kano properties.

Variants:

  • Border Radius:
    • Rounded
    • Square
  • Icon
  • Outline
  • Status
    • Disabled
    • Enabled
  • Type:
    • Primary
    • Secondary
    • Tertiary
    • Warning
    • White
  • Ghosted
  • Transparent

Installation

  • Clone this repository.
  • Run bower i
  • Install the Polymer CLI. Then run polymer serve to serve the element locally.

Viewing The Element

$ polymer serve

Running Tests

$ polymer test

To-do

  • Add aria properties for better accessibility