This is a material button with the beautiful gradient colours with the animations on hover.

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

Install

Link to this version
ImportedReleased 05 January 2019MIT License
Framework Support
Browser Independent
Install with
npm install gradient-button"@2.2.3"
Run the above npm command in your project folder. If you have any issues installing, please contact the author.
Release notes - Version 2.2.3

Dependencies

  • latest-version#^4.0.0
  • stable#^0.1.8