Creates this button with right-aligned icon:

Delete

Icons can also be positioned above the text by specifying data-iconpos="top"

Delete

Or icons can also be positioned below the text by specifying data-iconpos="bottom"

Delete