npm install @slash.tools/webslash-launcher is built with Lit and registered as a standard custom element, so it works anywhere — no framework required.
main.js
12345678910import '@slash.tools/web'
document.body.insertAdjacentHTML( 'beforeend', '<slash-launcher api-key="YOUR_API_KEY" theme="system"></slash-launcher>')
document .querySelector('slash-launcher') .addEventListener('select', (event) => console.log(event.detail))