A Polymer 2 web component for generating static and dynamic badges using shields.io.
Live Demo ↗
<shields-badge> is a Polymer 2 web component for generating badge using shields.io services.
<shields-badge left="shields--badge" right="awesome" style="for-the-badge" color-a="1446A0" color-b="EE4266"></shields-badge>
Using <shields-badge> is simple. Just declare left-side text (remember that if you want a hyphen, you need to put double hyphen there), right-side text, style and the color for both side.
There is also a dynamic badge option.
Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.
- Apache License 2.0
- Polymer 2.0+
- Browser Independent