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
| Name | Type | Required | Description |
|---|---|---|---|
placeholder | string | No | Placeholder text for the search input (default: "Search...") |
autoFocus | boolean | No | Focus the input on mount (used by the mobile search overlay). |
shortcut | boolean | No | Focus this input on ⌘K / Ctrl+K (default: true). The header search turns this off and handles the shortcut itself. |
Props type: ArdoSearchProps