Buttons
These modular elements can be readily used and customized across pages and in different blocks.
Explore all of Stack's modular elements
at the Element Index Page →
Coloured Buttons
Use the classes .btn--primary, .btn--primary-1and .btn--primary-2to colour the buttons using the theme's colour schemes.
<a class="btn btn--primary" href="#"> <span class="btn__text">Button Text</span></a>
Icon Buttons
Use the class .btn--iconon the button and place an <i> icon element inside the .btn__textelement.
<a class="btn btn--primary btn--icon" href="#"> <span class="btn__text"><i class="icon-class"></i>Button Text</span></a>
Social Buttons
Use the classes .bg--facebook, .bg--twitteretc. to colour buttons with their corresponding brand colours.
<a class="btn bg--facebook btn--icon" href="#"> <span class="btn__text"><i class="icon-class"></i>Button Text</span></a>