NavigationBar
import { NavigationBar } from "@material";export component Example inherits Window { width: 400px; height: 200px; background: transparent; NavigationBar { width: parent.width; height: 80px; items: [ { icon: @image-url("../icons/share.svg"), text: "Home" }, { icon: @image-url("../icons/search.svg"), text: "Search" }, { icon: @image-url("../icons/settings.svg"), text: "Settings" } ]; }}slint

A NavigationBar is a bottom navigation component that displays a row of navigation items with icons and labels. It’s commonly used for primary navigation in mobile applications.
Properties
Section titled “Properties”current-index
Section titled “current-index”int (in-out) default: 0
The index of the currently selected navigation item.
NavigationBar { current-index: 0;}slint
[struct] default: a struct with all default values
An array of navigation items to display in the bar.
Callbacks
Section titled “Callbacks”index-changed(index: int)
Section titled “index-changed(index: int)”Invoked when the current-index changes.
Functions
Section titled “Functions”select(index: int)
Section titled “select(index: int)”Selects the navigation item at the specified index.
© 2026 SixtyFPS GmbH