Skip to content

Bottom Navigation Item Component

Represents a single item in a bottom navigation bar.

Properties

NameTypeDefaultDescription
activebooleanfalseIndicates whether the navigation item is active.

Slots

NameDescription
iconSlot for the icon when the item is inactive.
active-iconSlot for the icon when the item is active.
defaultThe default slot for the item label or content.

CSS Parts

NameDescription
bottom-navigation-itemThe main container for the bottom navigation item.

Check this link to learn how to use CSS parts for Bottom Navigation Item Component.

CSS Properties

TokenDefaultDescription
--tap-font-family--tap-sys-font-familyThe font family for the navigation item.
--tap-bottom-navigation-item-color--tap-sys-color-content-tertiaryThe text color when the item is inactive.
--tap-bottom-navigation-active-color--tap-sys-color-content-primaryThe text color when the item is active.
--tap-bottom-navigation-item-line-height--tap-sys-typography-label-xs-heightThe line height for the label.
--tap-bottom-navigation-item-font-size--tap-sys-typography-label-xs-sizeThe font size for the label.
--tap-bottom-navigation-item-font-weight--tap-sys-typography-label-xs-weightThe font weight for the label.