hx-btn elements that apply new styles. The standard hx-btn class can be used with hx-flag-button to apply the new styles to default buttons. body to make all buttons on the page use the new styles. disabled attribute to show that a functionality exists but isn’t currently available. <button class="hx-btn hx-primary">primary</button>
<button class="hx-btn hx-secondary">secondary</button>
<button class="hx-btn hx-btn-normal">standard</button>
<button class="hx-btn hx-success">success</button>
<button class="hx-btn hx-danger">danger</button>
<button disabled class="hx-btn hx-btn-normal">disabled attr</button>
<button class="hx-btn hx-btn-link">link</button>
<br>
<br>
<button class="hx-margin-left hx-btn hx-btn-normal">normal</button>
<button class="hx-margin-left hx-btn hx-btn-small">small</button>
<button class="hx-margin-left hx-btn hx-btn-micro">micro</button><button id="button-example" class="hx-btn hx-primary">Click Me</button>hx.select('#button-example').on('click', function(){
hx.notify.info('Button clicked');
});<button class="hx-btn">hx-btn</button>
<button class="hx-btn hx-action">hx-action</button>
<button class="hx-btn hx-positive">hx-positive</button>
<button class="hx-btn hx-warning">hx-warning</button>
<button class="hx-btn hx-negative">hx-negative</button>
<button class="hx-btn hx-info">hx-info</button>
<br>
<button class="hx-btn hx-complement">hx-complement</button>
<button class="hx-btn hx-contrast">hx-contrast</button>
<button class="hx-btn hx-btn-invisible">hx-btn-invisible</button>
<br>
<button class="hx-btn hx-btn-outline">hx-btn</button>
<button class="hx-btn hx-btn-outline hx-action">hx-action</button>
<button class="hx-btn hx-btn-outline hx-positive">hx-positive</button>
<button class="hx-btn hx-btn-outline hx-warning">hx-warning</button>
<button class="hx-btn hx-btn-outline hx-negative">hx-negative</button>
<button class="hx-btn hx-btn-outline hx-info">hx-info</button>
<br>
<button class="hx-btn hx-btn-outline hx-complement">hx-complement</button>
<button class="hx-btn hx-btn-outline hx-contrast">hx-contrast</button>
<button class="hx-btn hx-btn-outline hx-btn-invisible">hx-btn-invisible</button><button> and <a> elements. hx-primary hx-btn-outline hx-btn-link. This retains the spacing and styles the text as a link. disabled attribute to the button to prevent user interaction. hx-danger hx-success hx-btn as well as a container with buttons inside