carbon-components
Version:
The Carbon Design System is IBM’s open-source design system for products and experiences.
30 lines (27 loc) • 1.1 kB
HTML
<!--
Copyright IBM Corp. 2016, 2018
This source code is licensed under the Apache-2.0 license found in the
LICENSE file in the root directory of this source tree.
-->
<button
class="bx--btn bx--btn--ghost"
type="button">
Button
</button>
<button
class="bx--btn bx--btn--ghost"
type="button" disabled>
Button
</button>
<button
class="bx--btn bx--btn--ghost"
type="button">
With icon
<svg focusable="false" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="bx--btn__icon" width="16" height="16" viewBox="0 0 32 32" aria-hidden="true"><path d="M17 15L17 8 15 8 15 15 8 15 8 17 15 17 15 24 17 24 17 17 24 17 24 15z"></path></svg>
</button>
<button
class="bx--btn bx--btn--ghost"
type="button" disabled>
With icon
<svg focusable="false" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="bx--btn__icon" width="16" height="16" viewBox="0 0 32 32" aria-hidden="true"><path d="M17 15L17 8 15 8 15 15 8 15 8 17 15 17 15 24 17 24 17 17 24 17 24 15z"></path></svg>
</button>