Searchbox is a UI component built on top of Pagefind providing fast, backend-less search to any website.

To get started, please follow the Pagefind's instructions on building an index for your website.

Usage

        <script async defer type="module" src="https://cdn.jsdelivr.net/gh/ovx/searchbox/dist/searchbox.js"></script>

<search-box pagefind="https://pagefind.app/_pagefind/pagefind.js">
  <input type="search" placeholder="Search..." />
</search-box>