# Tab (`.z-tab`)

> Underline and pill tablist styles with horizontal, bottom, and left/right layouts, plus a sliding active indicator driven by the Switcher controller.

- **Kind:** css
- **Category:** navigation

## Reference inventories

- [CSS Variables (25)](https://next.0build.dev/docs/components/tab/css-vars.md)
- [CSS Classes (5)](https://next.0build.dev/docs/components/tab/css-classes.md)

## 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.

## Guides

- [Styling with cls and stl](https://next.0build.dev/docs/guides/styling.md)
- [Translating Components](https://next.0build.dev/docs/guides/i18n.md)
- [Icon Resolution](https://next.0build.dev/docs/guides/icons.md)
- [The data-source Convention](https://next.0build.dev/docs/guides/data-source.md)
- [Openers & Triggers](https://next.0build.dev/docs/guides/triggers.md)
- [Dialog Behavior](https://next.0build.dev/docs/guides/dialogs.md)
- [Utilities](https://next.0build.dev/docs/guides/utilities.md)
- [Runtime](https://next.0build.dev/docs/guides/runtime.md)

## Related

- [Switcher](https://next.0build.dev/docs/components/switcher.md)
