gradient-button

2.2.3 • Public • Published

Published on webcomponents.org NPM version GitHub version Bower version

<gradient-button>

This is a gradient button with the attractive colours and hover effects and is created by using vanilla web component.

demo

<gradient-button>Button</gradient-button>
<gradient-button disabled>Button</gradient-button>

Install the Polymer-CLI

First, make sure you have the Polymer CLI installed. Then run polymer serve to serve your element locally.

Viewing Your Element

$ polymer serve

Avaliable in various colours

Coloured buttons

<gradient-button red>Button</gradient-button>
<gradient-button blue>Button</gradient-button>
<gradient-button yellow>Button</gradient-button>
<gradient-button green>Button</gradient-button>
<gradient-button orange>Button</gradient-button>
<gradient-button purple>Button</gradient-button>

In round borders

round buttons

<gradient-button round red>Button</gradient-button>
<gradient-button round blue>Button</gradient-button>
<gradient-button round yellow>Button</gradient-button>
<gradient-button round green>Button</gradient-button>
<gradient-button round orange>Button</gradient-button>
<gradient-button round purple>Button</gradient-button>

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Browser Support

Using the webcomponents.js:

Chrome Opera Firefox Safari IE Edge
Latest ✔ Latest ✔ Latest ✔ Latest ✔ 11+ Latest ✔

License

MIT

Package Sidebar

Install

npm i gradient-button

Weekly Downloads

0

Version

2.2.3

License

MIT

Unpacked Size

359 kB

Total Files

15

Last publish

Collaborators

  • kedar-k