{/* @ts-expect-error — custom element */}
{/* @ts-expect-error — custom element */}
)
}
```
In **Next.js**, the import must run in a Client Component (`'use client'`) because it registers browser custom elements.
### Vue
Tell Vue which tags are custom elements (`vite.config`: `vueCompilerOptions.isCustomElement = tag => tag.startsWith('a4-')`), import the bundle once, then use the tags in templates. Attributes and `@change` work as usual.
### Vanilla / any framework
Include the two files (script + CSS) and write the tags. That's it.