New: Headless Commerce with Remix! read more

navigation-types

NavMenuBadge

A color-coded notification badge which will be displayed by the NavMenuItem’s icon.

Signature

interface NavMenuBadge {
  type: NavMenuBadgeType;
  propagateToSection?: boolean;
}

Members

type

property
type:
NavMenuBadgeType

propagateToSection

property
type:
boolean
If true, the badge will propagate to the NavMenuItem’s parent section, displaying a notification badge next to the section name.