Zum Inhalt springen
CtrlK

ArdoSearch

Auf dieser Seite
Diese API-Referenz wird aus den englischen TypeScript-Quellkommentaren erzeugt. Namen, Signaturen und Beispiele entsprechen dem veröffentlichten Paket.

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