Saltar al contenido
CtrlK

ArdoSearch

En esta página
Esta referencia de la API se genera a partir de los comentarios de TypeScript en inglés. Los nombres, las firmas y los ejemplos corresponden al paquete publicado.

A search field with live results from the site's search index. The header renders it; use it directly in a custom header.

import { ArdoSearch } from "ardo/ui"

<ArdoSearch />

Props

NameTypeRequiredDescription
placeholderstringNoPlaceholder text for the search input (default: "Search...")
autoFocusbooleanNoFocus the input on mount (used by the mobile search overlay).
shortcutbooleanNoFocus this input on ⌘K / Ctrl+K (default: true). The header search turns
this off and handles the shortcut itself.

Props type: ArdoSearchProps