# Secondary Navigation

The secondary navigation is a flexible component which allows user to build custom sub navigation.

# Usage

Secondary navigation by default is empty container. If groups are needed groups prop should be passed to component using SubCategory[] interface.

# Title

Use the title prop or slot to give your secondary menu a title.

# Bottom slot

Use the bottom slot to add content to bottom of secondary navigation.

# Variants

Use the variant slot to change style of component. Available variants are normal, dark and slate. Default is normal.

# Sub categories

If sub categories are needed then use multiple items inside groups prop and set title for category.

# Quantity chip

Use the quantity inside items to set quantity chip. Default is null.

# Organization info

Use the orgId and orgName props to set company info. Info is displayed inside bottom slot.

# Events

Event Args Emitted when...
@close-menu - the cross icon is pressed on mobile
Last Updated: 9/1/2025, 6:28:00 AM