Skip to main content

How to manage lights

Within the tag <aryel-embed />, it's possible to use custom HTML elements to freely style the aryel-embed components.

Available slots

You can customize the embed-viewer with these components.

NameDescription
aryel-embed-buttonCustom styled button that points to your AR campaign

aryel-embed-button

Define your custom button.

<aryel-embed campaign="your-campaign-id">
<button aryel-embed-button>View my AR campaign</button>
</aryel-embed>
note

Placing this slot element will overwrite the default button behaviour.

tip

Any HTML element can be an aryel-embed-button. If you place a <a> tag as a button, only the href and target will be edited to make it works.

Available properties

This slot element inherits all the available properties of the button attribute except for the text property.

KeyValueDefault
returnbooleanfalse