Skip to content

Search Not Found

No-results state for searches and filters.

Installation

bun add @xerobi/ui
import { SearchNotFound } from "@xerobi/ui/search-not-found"

This component is client-side. In Astro, hydrate it with a client directive.

API reference

SearchNotFound

PropTypeDescription
querystring
labels{ empty?: string | undefined; title?: string | undefined; noResults?: string | undefined; hint?: string | undefined; }Strings are English by default; pass your own for other locales.
slotProps{ title?: DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement> | undefined; description?: DetailedHTMLProps<HTMLAttributes<HTMLParagraph...

Search documentation

Search pages, components and blocks.