The shared underline tab row (portal Account and Settings, the tracking
app's Settings): one tab per entry, the active one underlined in
red-orange. When the row is wider than its box it scrolls sideways, a fade
(with a › on the end side) marks the cut-off side, and the active tab is
scrolled into view.
Router-agnostic: link tabs render through linkComponent (the portal passes
Next's Link); in-memory tabs (onSelect) render as buttons. Either way
the active tab carries aria-current="page".
The shared underline tab row (portal Account and Settings, the tracking app's Settings): one tab per entry, the active one underlined in red-orange. When the row is wider than its box it scrolls sideways, a fade (with a › on the end side) marks the cut-off side, and the active tab is scrolled into view.
Router-agnostic: link tabs render through
linkComponent(the portal passes Next'sLink); in-memory tabs (onSelect) render as buttons. Either way the active tab carriesaria-current="page".