New to Kendo UI for Vue? Start a free 30-day trial

Represents the Kendo UI for Vue BottomNavigation component. Accepts properties of type BottomNavigationProps.

Definition

Package:@progress/kendo-vue-layout

Properties Interface:BottomNavigationProps

Syntax:

vue
<BottomNavigation
    :items="[
        { text: 'Inbox', svgIcon: inboxIcon },
        { text: 'Calendar', svgIcon: calendarIcon },
        { text: 'Profile', svgIcon: userIcon }
    ]"
    :selected="selected"
    :theme-color="'primary'"
    :fill-mode="'flat'"
    :item-flow="'vertical'"
    :position-mode="'sticky'"
    :border="true"
    @select="onSelect"
/>

Properties

border?

boolean

Shows a border around the BottomNavigation.

Default:

true

dir?

string

Sets the dir HTML attribute of the BottomNavigation. Use it to switch between LTR and RTL.

disabled?

boolean

Disables the whole BottomNavigation.

fillMode?

string

Sets the fill style of the BottomNavigation (see example).

The available options are:

  • flat—Uses the theme color as the text color. The background is white.
  • solid—Uses the theme color as the background color.
Default:

flat

id?

string

Sets the id attribute of the root BottomNavigation element.

Overrides the default content of a single item (see example).

itemFlow?

string

Sets how the icon and the text label are positioned in each BottomNavigation item (see example).

The available options are:

  • vertical—Renders the text below the icon.
  • horizontal—Renders the text and the icon on the same line.
Default:

vertical

Sets a custom rendering for the BottomNavigation items (see example). Use it to override the default appearance of the items.

Sets the collection of items that the BottomNavigation renders (see example).

Fires when the user presses a key on a BottomNavigation item.

Parameters:eventBottomNavigationEvent

Fires when the user selects a BottomNavigation item.

Sets the position and behavior of the BottomNavigation when the user scrolls the page (see example).

The available options are:

  • fixed—The BottomNavigation always stays at the bottom of the viewport, no matter where the page is scrolled.
  • sticky—Positions the BottomNavigation based on the scroll position. A sticky element switches between the static

and fixed values of the CSS position property, based on the scroll position. It stays static until it reaches a set offset in the viewport. Then it "sticks" in place like the fixed mode.

Default:

fixed

selected?

number

Sets the index of the selected BottomNavigation item.

Sets the theme color of the BottomNavigation (see example).

The available options are:

  • base—Applies the base coloring.
  • primary—Applies coloring based on the primary theme color.
  • secondary—Applies coloring based on the secondary theme color.
  • tertiary—Applies coloring based on the tertiary theme color.
  • inverse—Applies coloring based on the inverted theme color.
Default:

base