# actor-typeahead A small web component that progressively enhances an `` element into an autocomplete for ATProto handles! It works with any web stack and any JavaScript framework. ## Installation The easiest way to install is to just copy `actor-typeahead.js` into your project and reference it in a script tag: ```html ``` It will automatically register the `` tag as a custom element. If you'd like to use a different tag, you can import the file with a query string: ```html ``` If you'd prefer to manually register the custom element, you can use the query string `?tag=none` and call the static method `define`: If you're using a bundler, you can install it from npm: ```sh npm install actor-typeahead ``` Then import it somewhere in your JavaScript. It'll auto-register itself. ```js import "actor-typeahead"; ``` ## Usage Simply wrap your `` with ``: ```html ```