Skip to content
Mizen UI
Docs

IntroductionInstallationCLIStylingFoundationsThemingCompositionIntegrationsAccessibilityFor agents

useCopyToClipboard

AccordionAspect RatioCardCollapsibleFrameGridGroupInlineScroll AreaSectionSeparatorSpacerStack

BlockquoteCitationCodeHeadingKbdLabelLinkTextVisually Hidden

ButtonButton GroupToggleToggle groupToolbar

CalendarCheckboxCheckbox groupComboboxDate pickerDate range pickerDate-Time InputFieldFieldsetFile UploadFormInputInput groupNumber fieldOTP FieldRadio groupSelectSliderSwitchTextareaTime Input

BreadcrumbMenubarNavigation MenuPaginationSegmented ControlStepperTabs

Alert dialogCommandContext MenuDialogDrawerMenuPopoverPreview CardSheetTooltip

AlertBadgeEmptyError StateMeterProgressSkeletonSpinnerStatus dotToast

Activity FeedAvatarAvatar GroupData TableListMetricOverflow ListProperty ListTableTokenTree

Area ChartBar ListCalendar HeatmapCategory ComparisonChart FrameChart LegendChart TooltipDistributionFunnelHeatmapMetric TrendPart-to-WholeProgress RingsRadar ChartRadial BarsSankey ChartScatter ChartScore GaugeTime Series

Diagram

AttachmentCarouselCode BlockLightboxMarkdownThumbnailTimestamp

Agent ThinkingApproval CardComposerConversationInline CitationMessageMessage ScrollerQuestion CardSourcesStreaming TextSuggestionTask ListTerminalTool Call

On this page

  • Preview
  • Usage
  • Anatomy
  • Examples
  • Project overview
  • Record details
  • Profile settings
  • Sizes, icons, and manual activation
  • Recommendations
  • Usage boundaries
  • API reference

Navigation

Tabs

Moves between related views without losing context.

idle

Usage

import { Tabs, TabsList, TabsPanel, TabsTab } from "@mizen-labs/ui";

Anatomy

The parts and how they nest, taken from the preview above.

<Tabs>
	<TabsList>
		<TabsTab />
	</TabsList>
	<TabsPanel />
</Tabs>

Examples

Project overview

Record details

Profile settings

Sizes, icons, and manual activation

Tabs share compact sizing with segmented controls. Arrow keys move focus; manual activation waits for Enter or Space.

Recommendations

GuidancePractice
Do

Use concise labels for related panels. Keep panel headings and reading order consistent.

Usage boundaries

GuidanceBoundary
Scope

Use navigation links for routes. Tabs change views within the current context.

API reference

Public props from @mizen-labs/ui. Use exported prop types for the complete TypeScript contract.

PropTypeDefaultDescription
valuestring | number—Controls the active tab.
defaultValuestring | number—Sets the initially active tab.
orientation"horizontal" | "vertical""horizontal"Sets the tab navigation orientation.
TabsListTabsListProps—Groups tabs; size defaults to default and variant supports default or underline.
TabsTabTabsTabProps—Selects a panel when activated.
TabsPanelTabsPanelProps—Contains the content associated with a tab.
TabsList.activateOnFocusbooleanfalseArrow keys move focus. Enable this to select a panel on focus; otherwise use Enter or Space.
TabsIndicatorTabsIndicatorPropsAutomaticTabsList supplies a default animated indicator. An explicit indicator replaces its visible presentation.
PreviousStepperNextAlert dialog
Northstar ships on October 12. Three tasks remain.

Project overview

Coordinate the autumn launch across product, support, and operations.

Owner
Maya Chen
Target date
October 28, 2026
Status
In progress

Record details

Northstar launch · NSL-001

Owned by Maya Chen. Updated today.

Profile settings

List view
List view
List view
List view