Aller au contenu
CtrlK

ArdoHeaderSearchMode

Cette référence API est générée à partir des commentaires TypeScript en anglais. Les noms, signatures et exemples correspondent au paquet publié.

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";