Skip to main content

Tabs

A tab container. Every direct child must be a TabItem.

Signature

Attributes

TabItem

TabItem content is its child elements:

Runtime behavior

  • The tab bar is rendered with the launcher’s built-in Tabs component.
  • The selected index lives in component memory and is not persisted; remounting returns to Default.
  • All TabItems are parsed; Data is fetched globally up front, so switching tabs does not refetch.
  • Tab titles support bindings such as {Resources.*} / {Data.*}.

Example

Gotchas

  • Other nodes cannot go directly inside Tabs; they must be wrapped in a TabItem.
  • At least one TabItem is required; an out-of-range Default fails parsing.
  • Content in hidden tabs still mounts and runs Loaded/Timer triggers; use If inside the TabItem when you need lazy loading.