Tab List

TabList renders a selectable tab strip for switching related views. Add Tab children with distinct value strings and bind selected_value to a parent RwSignal; render panel content in the parent keyed on that signal — Orbital does not ship a bundled panel wrapper.

  • Settings sections, record detail areas, peer views at one hierarchy level - Replacing a row of toggle buttons when labels need tab affordance
  • Create selected_value as RwSignal::new("tab-id".to_string()).
  • Pass it to TabList and give each Tab a matching value.
  • Below the list, render a panel keyed off selected.get() (or <Show> / match).
  • Keyboard: arrow keys move focus; Enter or Space activates a tab.
Two tabs

Minimal tab strip with two peer views and a parent-owned selected_value signal. Use TabList when switching between related panels at the same hierarchy level.

Three tabs with initial selection

Three labeled tabs with the middle tab selected on load. Demonstrates binding selected_value to a non-first tab for detail areas such as Overview, Details, and History.

Controlled tab list + panel

Tab list wired to a sibling panel that reads the same selected_value signal. This is the standard controlled pattern—tabs update selection and the panel renders the matching content below.

Panel one