# `BB.TUI.Panels.TabBar`
[🔗](https://github.com/mcass19/bb_tui/blob/v0.3.0/lib/bb/tui/panels/tab_bar.ex#L1)

Top-level tab bar — shows `Control Panel` and `Visualization`, highlighting the
active tab. Pure function — takes the active tab atom, returns a widget struct.

# `render`

```elixir
@spec render(atom()) :: struct()
```

Renders the tab bar as a Paragraph whose rich `%Line{}` highlights `active_tab`.

---

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