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/h variables and the data-indicator-ready / data-indicator-animate attributes are written by the switcher at runtime; theme them rather than setting them by hand.
  • Without the switcher, mark the active item .z-active yourself; the static underline or pill still renders.