Mozhi

Tabs

The local Base UI wrapper for tabbed interfaces, code panels, and compact content switching inside Mozhi.

Purpose

Tabs is the local Mozhi wrapper around Base UI tabs and should be the default tab surface in feature code.

Composition

Pass the tab list to tabs, then render matching TabsPanel children for each value.

Why this wrapper exists

The wrapper keeps interactive styling, sizing, theme tokens, and trailing actions consistent across the app instead of re-creating Base UI tab wiring page by page.