components/tabs
Navigation · 35 / 64

Tabs

ui.widgets.Tabs

Switch between sibling views in one context.

BEHAVIOR CONTRACT

underline / pill / tab, sizes, badges, disabled and the active id share one selection model.

RECORDED INTERACTION

The harness clicks Details; indicator and panel switch together.

View source on GitHubexamples/storybook/stories.zig:2282

The story's verbatim source from the Storybook (zenit 4c50245 2026-10-01). W is ui.widgets; col / row / label are small Storybook layout helpers.

zenit · Dual-licensedFree for open-source projects under GPL-3.0-only; closed-source or commercial products need a commercial license.Contact the author: zongyi.xzy#gmail.com (replace # with @)zenit 4c50245 2026-10-01