Skip to content

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.

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.

Invoked when the current-index changes.

Selects the navigation item at the specified index.


© 2026 SixtyFPS GmbH