Buttons are used to help users perform common actions more easily and direct them through a workflow.
Types
Link buttons: use the <a> tag for buttons that direct the user to a new page, ie. for buttons that are links. They should also be used for buttons that default to a link when javascript fails or is switched off, eg. a play video button that opens a YouTube video in a modal or if JS fails takes vistor to the YouTube video page.
Button tag: use the <button> tag for buttons that will be used to make changes on a page via javascript and do not take the viewer to a new page.
Form buttons: use standard form buttons <input type=""> in forms.
Any of the icons in the icon set can be used with a button by including the class ds-icon-[icon-name]. Where icon-name is the name listed on the icons page.
To place the icon on the left also include the class ds-icon--before
<divclass="ds-block"><p><aclass="ds-btn-link"href="#">Button (a tag)</a><aclass="ds-btn-link"href="#"disabled>Button (a tag disabled)</a><buttonclass="ds-btn-link">Button (button)</button><buttonclass="ds-btn-link"disabled>Button (button disabled)</button></p><!-- with icons --><p><aclass="ds-btn-link ds-icon-coffee"href="#">Button (a tag)</a><buttonclass="ds-btn-link ds-icon-edit">Button (button)</button><buttonclass="ds-btn-link ds-icon-chevron-right"href="#"disabled>Button (button disabled)</button><buttonclass="ds-btn-link ds-icon-check">Button (button)</button></p><!-- with icons before --><p><aclass="ds-btn-link ds-icon-coffee ds-icon--before"href="#">Button (a tag)</a><buttonclass="ds-btn-link ds-icon-edit ds-icon--before">Button (button)</button><buttonclass="ds-btn-link ds-icon-chevron-right ds-icon--before"href="#"disabled>Button (button disabled)</button><buttonclass="ds-btn-link ds-icon-check ds-icon--before">Button (button)</button></p></div>
<divclass="ds-block"><inputtype="button"value="Button"><inputtype="submit"value="Submit"><inputtype="reset"value="Reset"><br><!-- small --><inputclass="ds-btn--small"type="button"value="Button"><inputclass="ds-btn--small"type="submit"value="Submit"><inputclass="ds-btn--small"type="reset"value="Reset"></div>