@bitforgehq/genie-ar-button
WebComponent to directly launch AR view on supported devices or show a QR Code overlay dialog.
1,000
1
| Install | |
|---|---|
npm install @bitforgehq/genie-ar-button |
|
| Latest Version: | 1.0.29 |
| Vue: | 2 |
| License: | MIT |
| Last Updated: | Sep 10, 2026 |
| Links: | GitHub · npm |
Maintainer: lucatescari
Yago AR Button
WebComponent to directly launch AR view on supported devices or show a QR Code overlay dialog.
More details and examples on https://ar-webshop.com/
Installation
Via npm
Use your favorite package manager:
npm install @bitforgehq/genie-ar-button
# OR:
yarn add @bitforgehq/genie-ar-button
Link the source in your script:
import '@bitforgehq/genie-ar-button';
Via CDN
Add these two javascript files at the end of your document or in your <head>:
<script src="https://unpkg.com/vue@2/dist/vue.min.js"></script>
<script type="module" src="https://unpkg.com/@bitforgehq/genie-ar-button/dist/ar-button.min.js"></script>
Usage
Include the WebComponent in your Website where the button should appear.
<ar-button
model="<yago-slug>"
text="Place in your space"
qr-size="300"
qr-title="Here we go!"
qr-text="Scan the QR Code with your smartphone to place the model in your space.">
</ar-button>
| Property | Type | Description |
|---|---|---|
| model | string | The slug (Short-URL) of your yago model. Usually 8 characters. |
| text | string | Text in the AR Button. Default is 'Place in your space'. |
| qr-size | number | Size of the QR Code in the modal popup window. |
| qr-title | string | Title text in the modal popup window. |
| qr-text | string | Call to action text in the modal popup window. |
Styling
You can style Yago AR button with global CSS variables:
ar-button {
--font-family: "Comic Neue";
--background-color: black;
--color: white;
--border: 1px solid black;
--border-radius: 8px;
--padding: 16px;
--ar-icon-height: 24px;
--ar-icon-width: 24px;
--qr-code-border-color: black;
}
If you want to style further details, you need to customize the code and deploy Yago Button yourself.
Development
To start hacking:
yarn install
yarn serve
Issues and pull requests are highly welcome!
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.0.29 | ^2.6.11 | MIT | |
| 1.0.28 | ^2.6.11 | MIT | |
| 1.0.27 | ^2.6.11 | MIT | |
| 1.0.26 | ^2.6.11 | MIT | |
| 1.0.25 | ^2.6.11 | MIT | |
| 1.0.24 | ^2.6.11 | MIT | |
| 1.0.22 | ^2.6.11 | MIT | |
| 1.0.21 | ^2.6.11 | MIT | |
| 1.0.20 | ^2.6.11 | MIT | |
| 1.0.19 | ^2.6.11 | MIT | |
| 1.0.18 | ^2.6.11 | MIT | |
| 1.0.17 | ^2.6.11 | MIT | |
| 1.0.16 | ^2.6.11 | MIT | |
| 1.0.15 | ^2.6.11 | MIT | |
| 1.0.14 | ^2.6.11 | MIT | |
| 1.0.13 | ^2.6.11 | MIT | |
| 1.0.12 | ^2.6.11 | MIT | |
| 1.0.11 | ^2.6.11 | MIT | |
| 1.0.10 | ^2.6.11 | MIT | |
| 1.0.9 | ^2.6.11 | MIT | |
| 1.0.7 | ^2.6.11 | MIT | |
| 1.0.6 | ^2.6.11 | MIT | |
| 1.0.5 | ^2.6.11 | MIT | |
| 1.0.4 | ^2.6.11 | MIT | |
| 1.0.3 | ^2.6.11 | MIT | |
| 1.0.2 | ^2.6.11 | MIT | |
| 1.0.1 | ^2.6.11 | ||
| 1.0.0 | ^2.6.11 |