A Web Component that provides typeahead suggestions for AT Protocol (Bluesky) handles. Uses the public app.bsky.actor.searchActorsTypeahead API directly from the client.
at main 16 lines 444 B view raw
1/** 2 * Typeahead Web Component for AT Protocol actor handles. 3 * 4 * Wrap any `<input>` element with `<actor-typeahead>` to get autocomplete 5 * suggestions from Bluesky's public API. Framework-agnostic, zero dependencies. 6 * 7 * @example 8 * ```html 9 * <actor-typeahead> 10 * <input type="text" placeholder="alice.bsky.social" /> 11 * </actor-typeahead> 12 * ``` 13 * 14 * @module 15 */ 16export { default as ActorTypeahead } from "./src/actor-typeahead.ts";