npm install @slash.tools/angularAngular consumes the same underlying custom element. Import the entry point once and use it directly in your template.
app.component.ts
123456789101112131415161718192021import { Component } from '@angular/core'import '@slash.tools/angular'
@Component({ selector: 'app-root', standalone: true, template: ` <slash-launcher [apiKey]="apiKey" theme="system" (select)="onSelect($event)"> </slash-launcher> `})export class AppComponent { apiKey = process.env['SLASH_API_KEY']
onSelect(event: CustomEvent) { console.log(event.detail) }}If you're not using standalone components, add CUSTOM_ELEMENTS_SCHEMA to your module's schemas array.