Home > @shopware-pwa/composables > useNavigation

# useNavigation variable

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Composable for navigation. Options - IUseNavigation


useNavigation: (rootContext: ApplicationVueContext, params?: {
    type: StoreNavigationType;
}) => IUseNavigation

# Example

// get main navigation
useNavigation( root )
// get footer navigation
useNavigation( root, { type: "footer-navigation" } )