Stack Navigator
Last updated
Last updated
Navigators are the only component that you cannot drag and drop into your phone at the moment. You'll have to drag it left to the tree hierarchy. Make sure that screens are fully contained within your navigator.
The Stack navigator creates a header bar across all screens. You can add a title to this bar by navigating to the Screen properties
Property
Description
Header Title
Title of your header
Header Back Title
Title of the back button on a stacked screen; if blank
, will use the Header Title
To enable a Stack transition, you will have to add a Screen navigation block like the one below. You can find the Screen navigation block in the pre-built Control category:
Screens can Stack from left to right or from top to bottom. You can set the transition style with the Stack property below:
Property
Description
Mode
Default (card
); Card
mode stacks screens from left to right while modal
stacks screens from top to bottom
It is not possible to use blocks to navigate from a screen outside of your Stack Navigator to a screen inside your Stack Navigator
It is possible to hide the Header bar and maintain the Stacking transition by using the Stack property below. Hiding the Header bar will also hide the back button that makes it easier to transition to your original screen
Property
Description
Header Mode
Default (Screen
); If you want to hide the header, set to none