PolymerElements / paper-icon-button

A Material Design icon button
https://www.webcomponents.org/element/PolymerElements/paper-icon-button
42 stars 44 forks source link

Add label to button #61

Closed phidias51 closed 8 years ago

phidias51 commented 8 years ago

It would be useful if there were an option to have a label for the button. The label would appear to the side of the button. Something like this:

<div>
    <iron-icon icon="create"></iron-icon>
    <span>[[labelText]]</span>
</div>
notwaldorf commented 8 years ago

You can already do that, with exactly the markup you provided: http://jsbin.com/xeducaf/edit?html,output