Skip to content
CtrlK

ArdoHeader

On this page

The site header: logo, title, navigation, search, theme toggle, and the menu on narrow screens.

import { ArdoHeader } from "ardo/ui"

<ArdoHeader>{children}</ArdoHeader>

Props

NameTypeRequiredDescription
logoArdoLogoNoLogo image URL or light/dark variants
titlestringNoSite title displayed next to logo
childrenReactNodeNoNavigation and action children. Use ArdoHeaderActions for right-side actions.
searchArdoHeaderSearchMode | booleanNoSearch presentation (default: "auto"). false hides search; true
is the same as "auto".
searchPlaceholderstringNoPlaceholder text for the search input
themeTogglebooleanNoShow theme toggle (default: true)
mobileMenuContentReactNodeNoAdditional content rendered in the mobile menu (e.g. sidebar)
classNamestringNoAdditional CSS classes

Props type: ArdoHeaderProps