route_tabs
Route-family tab helpers for chirp-ui route_tabs component. Tab item: dict or object with ``href``, optional ``match`` (default ``"exact"``). Full dict shape (from Chirp ``TabItem`` via ``_tab_item_to_shell_dict``): ``{ label, href, icon?, badge?, match? }``.
Route-family tab helpers for chirp-ui route_tabs component.
Tab item: dict or object with ``href``, optional ``match`` (default ``"exact"``).
Full dict shape (from Chirp ``TabItem`` via ``_tab_item_to_shell_dict``):
``{ label, href, icon?, badge?, match? }``.
_get_attr
function
Get href or match from tab (dict or object).
tab_is_active
function
Return True when tab matches current_path. Tab must have href. Optionally has match: "exact" | "prefix". Returns False when href is empty (prevents prefix match against all paths).