Skip to content
CtrlK

ArdoHeaderSearchMode

How the header shows search.

  • "auto" lets the page layout decide: docs pages get the field, bare (marketing) pages get the icon button.
  • "field" shows the search input on desktop.
  • "icon" shows an icon button at every width.

⌘K / Ctrl+K opens search in every mode.

import type { ArdoHeaderSearchMode } from "ardo/ui"

type ArdoHeaderSearchMode = "auto" | "field" | "icon";