tbds Button
Install
npm install --save @thoughtbot/tbds-button
Usage
@import "@thoughtbot/tbds-button/index";
Documentation
Default button
<button class="tbds-button" type="button">
Button
</button>
Disabled button state
<button class="tbds-button" type="button" disabled>
Button
</button>
Button with icon on the left
<button class="tbds-button" type="button">
<svg class="tbds-button__icon tbds-button__icon--text-to-right">…</svg>
Button
</button>
Button with icon on the right
<button class="tbds-button" type="button">
Button
<svg class="tbds-button__icon tbds-button__icon--text-to-left">…</svg>
</button>