Home » Polymer Paper Badge

Polymer Paper Badge

by Online Tutorials Library

Paper Badge

The paper-badge is a circular text badge which is used to represent a status or notification. It is positioned at the top right corner of an element. It can contain an icon by adding the icon attribute. To get the paper-badge and the icons in your directory, you should use the following two commands in the command prompt.

paper badge

paper badge 1

Example

The following example specifies the use of paper-badge element in Polymer.js. Create an index.html file and add the following code in it.

Now, open the my-app.html file and include the following code in it.

Output:

paper badge 2

Next TopicPaper Progress

You may also like