A styled HTML button
element.
'button'
rather than 'submit'
.HTMLButtonElement props are included.
/** Additional class names to apply. */
export let variant: string = '';
HTMLButtonElement events are included.
HTMLButtonElement blur
, click
, and focus
methods are included.
Use the default slot to place content within the button.
<button class="sterling-button">
<slot {disabled} {variant} />
</button>