navigationcss
Tab
Underline and pill tablist styles with horizontal, bottom, and left/right layouts, plus a sliding active indicator driven by the Switcher controller.
Notes
- This component is styling only: switching behavior, keyboard navigation, and the sliding indicator come from the Switcher controller (
z-switcher). - The
--z-tab-indicator-x/y/w/hvariables and thedata-indicator-ready/data-indicator-animateattributes are written by the switcher at runtime; theme them rather than setting them by hand. - Without the switcher, mark the active item
.z-activeyourself; the static underline or pill still renders.