<needle-button> is a web component for easily adding AR, VR, Quicklook, or QR code buttons to your website without writing JavaScript code.
The button automatically handles session management and displays appropriate UI based on device capabilities.
It comes with default styling (glassmorphism design) but can be fully customized with CSS.
<needle-button> is a web component for easily adding AR, VR, Quicklook, or QR code buttons to your website without writing JavaScript code.
The button automatically handles session management and displays appropriate UI based on device capabilities. It comes with default styling (glassmorphism design) but can be fully customized with CSS.
Supported button types:
ar- WebXR AR session buttonvr- WebXR VR session buttonquicklook- Apple AR Quick Look button (iOS only)qrcode- QR code sharing buttonExample: Basic AR/VR buttons
Example: Custom button labels
Example: Custom styling
Example: Unstyled button (for complete custom styling)
See