Skip to content

Bottom Tab View Simulation

The bottom-tab-view-simulation key allows you to simulate a bottom tab navigation interface, similar to those found in native mobile apps. This feature enables running multiple Eitri-Apps in parallel, each shown as a tab, making it easier to test apps as if they were sections of a single application.


πŸ”§ YAML Structure

Add the bottom-tab-view-simulation key to your app-config.yaml file, and define the eitri-apps list with the desired Eitri-Apps to show in the bottom tab view.

bottom-tab-view-simulation:
  eitri-apps:
    - slug: "eitri-app-slug"
      title: "Tab Title"
      initialization-params:
        type: "string"
        value: "<initialization payload>"

🧩 Available Fields

Field Type Required Description
slug string βœ… Yes The identifier (slug) of the Eitri-App to load.
title string βœ… Yes The title shown on the bottom tab for this app.

βœ… Full Example

bottom-tab-view-simulation:
  eitri-apps:
    - slug: "power-rune"
      title: "First"
      initialization-params:
        type: "string"
        value: "var1=xpto&var2=foobar"

    - slug: "eihwaz-rune"
      title: "Second"

    - slug: "eitri-doctor"
      title: "Third"

    - slug: "eitri-doctor"
      title: "Fourth"

πŸ’‘ Tips

  • Use type: "string" for quick query-style inputs like key=value&key2=value2.
  • The tabs appear in the order they're listed.