Tour Preview

Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!


Displays a clickable text inside a NavigationBar slot. More...

Import Statement: import Felgo 3.0
Since: Felgo 2.9.2



Detailed Description

This item can be used to display text inside the left or right NavigationBar slot. It optionally also acts as a button that can be clicked by the user. If you do not want the text to be clickable, set enabled to false.

iOS Android

Example Usage

 import Felgo 3.0

 App {
   NavigationStack {

     Page {
       title: "Example"
       rightBarItem: TextButtonBarItem {
         text: "Click Me!"
         onClicked: console.log("Text Clicked")


Property Documentation

color : color

The color of the text. The default is Theme.navigationBar.itemColor if TextButtonBarItem is enabled, Theme.navigationBar.titleColor otherwise.

text : string

The text to be displayed.

textItem : AppText

The text item that shows the text.