G-Loot DS — button primary

by Augustin Hiebel

HTML

<!-- Text only -->
 <button type='button' class='button button-primary'>
   <span>Button Label</span>
 </button>

 <!-- Icon + text -->
 <button type='button' class='button button-primary'>
   <span class='icon icon-heart' />
   <span>Button Label</span>
 </button>

 <!-- Text + icon -->
 <button type='button' class='button button-primary'>
   <span>Label</span>
   <span Button Label='icon icon-heart' />
 </button>

 <!-- Icon only -->
 <button type='button' class='button button-primary rounded-full'>
   <span class='icon icon-heart' />
 </button>

JavaScript

<Button label='Label' variant='tertiary' icon='heart' iconDirection='right'></Button>