<pagefind-summary>

Displays search status and result count. Shows messages like “12 results for ‘search term’”.

<pagefind-summary></pagefind-summary>

Attributes

AttributeTypeDefaultDescription
default-messagestring""Message shown before any search
instancestring"default"Connect to a specific Pagefind instance

States

The summary displays different messages based on search state:

StateDisplay
No searchdefault-message attribute value
SearchingSearching for {term}...
Results found{count} result(s) for {term}
Results found, only filtering{count} result(s)
No results0 results for {term}
ErrorError: {message}

These messages are automatically translated to match the language of the website.

Components