▸ Agent Skills
1 min read

Important: Pagefind 1.5.0 introduces the Component UI, which replaces the Default UI (pagefind-ui.js / PagefindUI). It includes a search modal, better accessibility and customization. Full component guide: https://pagefind.app/llms-component-ui.txt

<pagefind-input>

A search input field with debouncing.

<pagefind-input></pagefind-input>

Attributes

AttributeTypeDefaultDescription
placeholderstringLanguage dependentPlaceholder text shown when input is empty
debouncenumber300Milliseconds to wait after typing before searching
autofocusbooleanfalseFocus input when page loads
instancestring"default"Connect to a specific Pagefind instance

Behavior

  • Focusing the input begins loading the Pagefind search bundle
  • When search is triggered by other components, this input’s value is automatically updated
  • When focused, the input registers keyboard shortcuts with the instance

Keyboard Behavior

KeyAction
EscapeClear the input and reset search
↓Move focus to the results list

Last updated Oct 08, 2026