# `BB.TUI.State.UI`
[🔗](https://github.com/mcass19/bb_tui/blob/v0.3.0/lib/bb/tui/state/ui.ex#L1)

View chrome state, split out of `BB.TUI.State`.

`active_tab` is the focused top-level tab; `active_panel` is the focused panel
within the Control Panel tab; `show_help?` toggles the help overlay and
`help_scroll_offset` scrolls it; `throbber_step` advances the spinner animation.

# `t`

```elixir
@type t() :: %BB.TUI.State.UI{
  active_panel: :safety | :commands | :joints | :events | :parameters,
  active_tab: :control | :visualization,
  help_scroll_offset: non_neg_integer(),
  show_help?: boolean(),
  throbber_step: non_neg_integer()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
