stage
A stage is a primary container for displaying various UI components on the left and right, typically showing a start-and-end concept.

Configuration options
Some properties are common to all components, see Common component properties for a list and their configuration options.
left
Add content to the left element as text, or use an expression.
right
Add content to the right element as text, or use an expression.
title
Add titles for the text on the left and right elements.
icon
Add an icon to show in the centerElement. A list of icons is available. See for more information.
style
isWaitingSync - Will display a "Waiting sync" indicator (cloud with a line through it), a visual indicator showing that data has not been synced to the cloud yet.
subtitle
Add a subtitle to either the left or right element as text, or use an expression.
onPress
The action is triggered while pressing on an item in the stage. Use IntelliSense (ctrl+space) to see the list of available actions.
Consideration
component.stagecan only be used in thecomponent.listor an expander.
Examples and code snippets
List with stage

This example shows list items with left and right elements and typically shows a start-and-end concept. Flight schedules are used in this example. However, you can choose a different icon for many different use cases.
Examples: See the full example using static data in GitHub. See the full example using dynamic data in GitHub.
Datasource: See the full datasource for static data in GitHub. See the full datasource for dynamic data in GitHub.
children:
- type: component.entity
options:
children:
- type: component.entity-field
options:
label: Current User
value: [email protected]
- type: component.list
options:
data: [email protected]
item:
type: component.stage
options:
icon: plane-1
right:
title: [email protected]
subtitle: [email protected]
left:
title: [email protected]
subtitle: [email protected]children:
- type: component.entity
options:
children:
- type: component.entity-field
options:
label: Current User
value: [email protected]
- type: component.list
options:
data: [email protected]
item:
type: component.stage
options:
icon: plane-1
right:
title: [email protected]
subtitle: [email protected]
left:
title: [email protected]
subtitle: [email protected]datasources:
flight-schedule-static:
type: datasource.static
options:
data:
- id: 1
airline: Get Stuff Done Airlines
board: 11:30
disembark: 12:30
date: 30 Jul
flight: A 0123
from: Hawaii
fromabrv: HNL
gate: 16
name: July Nelson
seat: 12F
to: New York
toabrv: JFK
image: https://images.unsplash.com/photo-1436491865332-7a61a109cc05?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxzZWFyY2h8MXx8cGxhbmV8ZW58MHx8MHx8&auto=format&fit=crop&w=500&q=60
- id: 2
airline: Get Stuff Done Airlines
board: 08:10
disembark: 10:45
date: 30 Jul
flight: A 5738
from: Phoenix
fromabrv: PHX
gate: 2
name: Nora Gordon
seat: 27A
to: Alabama
toabrv: MCZ
image: https://images.unsplash.com/photo-1464037866556-6812c9d1c72e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxzZWFyY2h8Nnx8cGxhbmV8ZW58MHx8MHx8&auto=format&fit=crop&w=500&q=60
- id: 3
airline: Get Stuff Done Airlines
board: 14:00
disembark: 19:59
date: 30 Jul
flight: A 1123
from: Iowa
fromabrv: DSM
gate: 15
name: Tracy Matthews
seat: 13F
to: Ohio
toabrv: DAY
image: https://images.unsplash.com/photo-1488085061387-422e29b40080?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxzZWFyY2h8MTN8fHBsYW5lfGVufDB8fDB8fA%3D%3D&auto=format&fit=crop&w=500&q=60datasources:
flight-schedule-dynamic:
type: "datasource.sqlite"
options:
provider: DATA_PROVIDER_DYNAMIC
entities:
- entity: default/flight-schedule
query: |
SELECT
id,
'$.airline',
'$.board',
'$.disembark',
'$.date',
'$.flight',
'$.from',
'$.fromabrv',
'$.gate',
'$.name',
'$.seat',
'$.to',
'$.toabrv'
FROM [default/flight-schedule]List with expander and stage as a Header

This example shows a list of expanders that have used the stage components as their header elements.
Expanders are ideal for displaying additional information without having to navigate to another page.
Examples: See the full example using static data in GitHub. See the full example using dynamic data in GitHub.
Datasource: See the full datasource for static data in GitHub. See the full datasource for dynamic data in GitHub.
children:
- type: component.entity
options:
children:
- type: component.entity-field
options:
label: Current User
value: [email protected]
- type: component.list
options:
data: [email protected]
item:
type: component.expander
options:
header:
centerElement:
type: component.stage
options:
right:
title: [email protected]
subtitle: [email protected]
left:
title: [email protected]
subtitle: [email protected]
children:
- type: component.entity
options:
children:
- type: component.field-row
options:
children:
- type: component.entity-field
options:
label: Boarding
value: [email protected]
- type: component.entity-field
options:
label: Destination
value: [email protected]
- type: component.field-row
options:
children:
- type: component.entity-field
options:
label: Board Time
value: [email protected]
- type: component.entity-field
options:
label: Disembark Time
value: [email protected]
- type: component.entity-field
options:
label: Passenger
value: [email protected]
- type: component.field-row
options:
children:
- type: component.entity-field
options:
label: Flight
value: [email protected]
- type: component.entity-field
options:
label: Gate
value: [email protected]
- type: component.entity-field
options:
label: Seat
value: [email protected]
- type: component.location
options:
viewPoint:
centerPosition: middle
address: [email protected]children:
- type: component.entity
options:
children:
- type: component.entity-field
options:
label: Current User
value: [email protected]
- type: component.list
options:
data: [email protected]
item:
type: component.expander
options:
header:
centerElement:
type: component.stage
options:
right:
title: [email protected]
subtitle: [email protected]
left:
title: [email protected]
subtitle: [email protected]
children:
- type: component.entity
options:
children:
- type: component.field-row
options:
children:
- type: component.entity-field
options:
label: Boarding
value: [email protected]
- type: component.entity-field
options:
label: Destination
value: [email protected]
- type: component.field-row
options:
children:
- type: component.entity-field
options:
label: Board Time
value: [email protected]
- type: component.entity-field
options:
label: Disembark Time
value: [email protected]
- type: component.entity-field
options:
label: Passenger
value: [email protected]
- type: component.field-row
options:
children:
- type: component.entity-field
options:
label: Flight
value: [email protected]
- type: component.entity-field
options:
label: Gate
value: [email protected]
- type: component.entity-field
options:
label: Seat
value: [email protected]
- type: component.location
options:
viewPoint:
centerPosition: middle
address: [email protected]datasources:
flight-schedule-static:
type: datasource.static
options:
data:
- id: 1
airline: Get Stuff Done Airlines
board: 11:30
disembark: 12:30
date: 30 Jul
flight: A 0123
from: Hawaii
fromabrv: HNL
gate: 16
name: July Nelson
seat: 12F
to: New York
toabrv: JFK
image: https://images.unsplash.com/photo-1436491865332-7a61a109cc05?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxzZWFyY2h8MXx8cGxhbmV8ZW58MHx8MHx8&auto=format&fit=crop&w=500&q=60
- id: 2
airline: Get Stuff Done Airlines
board: 08:10
disembark: 10:45
date: 30 Jul
flight: A 5738
from: Phoenix
fromabrv: PHX
gate: 2
name: Nora Gordon
seat: 27A
to: Alabama
toabrv: MCZ
image: https://images.unsplash.com/photo-1464037866556-6812c9d1c72e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxzZWFyY2h8Nnx8cGxhbmV8ZW58MHx8MHx8&auto=format&fit=crop&w=500&q=60
- id: 3
airline: Get Stuff Done Airlines
board: 14:00
disembark: 19:59
date: 30 Jul
flight: A 1123
from: Iowa
fromabrv: DSM
gate: 15
name: Tracy Matthews
seat: 13F
to: Ohio
toabrv: DAY
image: https://images.unsplash.com/photo-1488085061387-422e29b40080?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxzZWFyY2h8MTN8fHBsYW5lfGVufDB8fDB8fA%3D%3D&auto=format&fit=crop&w=500&q=60datasources:
flight-schedule-dynamic:
type: "datasource.sqlite"
options:
provider: DATA_PROVIDER_DYNAMIC
entities:
- entity: default/flight-schedule
query: |
SELECT
id,
'$.airline',
'$.board',
'$.disembark',
'$.date',
'$.flight',
'$.from',
'$.fromabrv',
'$.gate',
'$.name',
'$.seat',
'$.to',
'$.toabrv'
FROM [default/flight-schedule]Last updated
Was this helpful?