Skip to content
CtrlK

ArdoMobileNavigation

On this page

The standard mobile navigation behavior for a site-owned header.

import { ArdoMobileNavigation } from "ardo/ui"

<ArdoMobileNavigation>{children}</ArdoMobileNavigation>

Props

NameTypeRequiredDescription
childrenReactNodeYesSidebar or other navigation shown inside the mobile dialog.
titlestringNo
logoArdoLogoNo
navReactNodeNo
actionsReactNodeNo
themeTogglebooleanNo
openbooleanNoControlled state, for example to close navigation before opening search.
onOpenChange(open: boolean) => voidNo
labelstringNoAccessible name of the trigger; defaults to the configured menu label.
triggerReactNodeNoTrigger content; defaults to the menu icon.
classNamestringNoAdditional trigger classes. The trigger follows Ardo's mobile breakpoint.

Props type: ArdoMobileNavigationProps