<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>
<span slot="before"><!-- Icon or image markup --></span>
This is a button
</bolt-button>
</p>
<p>
<bolt-button>
This is a button
<span slot="after"><!-- Icon or image markup --></span>
</bolt-button>
</p>
<p>
<bolt-button icon-only>
<span slot="before"><!-- Icon or image markup --></span>
This is a button
</bolt-button>
</p>
<bolt-button>
element. Use unique combinations to customize a button to your liking.
<bolt-button
url="https://pega.com"
size="large"
hierarchy="secondary"
border-radius="full"
icon-only
>
<span slot="before"><!-- Icon or image markup --></span>
This is a button
</bolt-button>