<bolt-button>
in the markup to make it render.
<bolt-button url="https://google.com">
This is a button
</bolt-button>
<bolt-icon>
with a slot
attribute defined as either before
or after
.
<p>
<bolt-button>
<bolt-icon name="chevron-left" slot="before"></bolt-icon>
This is a button
</bolt-button>
</p>
<p>
<bolt-button>
<bolt-icon name="chevron-right" slot="after"></bolt-icon>
This is a button
</bolt-button>
</p>
<p>
<bolt-button icon-only>
<bolt-icon name="close" slot="before"></bolt-icon>
This is a button
</bolt-button>
</p>
<bolt-button>
element. Use unique combinations to customize a button to your liking.
<bolt-button
url="https://google.com"
size="large"
hierarchy="secondary"
border-radius="full"
icon-only
>
<bolt-icon name="menu" slot="before"></bolt-icon>
This is a button
</bolt-button>