Navigation

Overview

Navigation bars offer a persistent and convenient way to switch between primary destinations in an app.

Demo

Props

PropertyDescriptionTypeValuesDefaultRequired
variantTheme variant for the navigation menuNavigationVariant | undefined"light" | "dark" | "blue""light"
navItemsArray of navigation itemsNavigationItem[] | undefinedNavigationItem[] | undefined
logoLinkLink for the logostring | undefinedstring | undefined
logoUrlChange the logo url. Helpful for cobranded logosstring | undefinedstring | undefined
showSearchInputShow or hide the search inputboolean | undefinedboolean | undefined
searchPlaceholderCustom placeholder value for the search inputstring | undefinedstring | undefined"Search"
showPrimaryButtonShow or hide the primary buttonboolean | undefinedboolean | undefined
showSecondaryButtonShow or hide the secondary buttonboolean | undefinedboolean | undefined
showAccountIconShow or hide the account iconboolean | undefinedboolean | undefined
showSearchIconShow or hide the search iconboolean | undefinedboolean | undefined
searchstring | undefinedstring | undefined

Events

NameReturn Type
update:search[value: string | undefined]