Skip to content
CtrlK

ArdoSearch

On this page

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