Components › Navigation › Tabs › Record tabs

Record tabs

canon

Record tab row: tab strip plus „+ N další“ overflow and a personal layout; an empty tab drops out, a loading one does not.

React implementation lives in the app (record/RecordTabsRow.tsx + record-tabs.ts); it uses TabStrip internally and adds the overflow trigger and the layout menu. 14 Oct 2026 (owner "24g scvaleno", proto/zalozky-jeden-ovladac@489bb3bd6, acrm !5043): ONE icon button „Záložky" with a count badge of hidden tabs replaces „+ N další" and ⚙; its menu lists all tabs — name = open, switch = show/hide, grip/Alt+↑↓ = order; phone = bottom sheet with „Hotovo". Badge --accent-press + white, 5.73:1. Dev check 14 Oct 1440 + 390 (company Druid): badge 8, 15 switches, sheet ok.

Used in 4 files · 4 areas · 4× — components/company, pages/CompanyRecordPage, pages/ObchodDetailPage, pages/PersonRecordPage

Default

components--record-tabs--defaultOpen standalone ↗Code

Variants

person — the fullest set; what does not fit moves under „+ N další“, which stays right after the last tab (P240)
company — a different catalogue, same row; the tab set follows the record type, not the screen
everything fits — no overflow trigger at all, only the gear
components--record-tabs--variantsOpen standalone ↗Code

States

counts loaded — the number says how much is inside; a tab with 0 is dropped from the row unless the user pinned it
counts still loading — undefined, not 0, so nothing is hidden while the data is on its way and the row does not jump
the active tab is in the overflow — it is pulled back into the visible part, so the underline is never off-screen
components--record-tabs--statesOpen standalone ↗Code

Composition

Josef Novák
Obsah záložky „Aktivita“ — the row sits under the record's top bar; the gear on the right changes the tab set for good, „+ N další“ only navigates.
components--record-tabs--compositionOpen standalone ↗Code