Skip to content
Binary UIKit reference Stable

Tabs

Panelled tabs with underline and pill presentations.

Use Tabs to switch between peer sections that share the same page context. The underline variant uses only an active underline. Use the pill variant for a contained group.

Interactive example

Loading interactive example

API

MemberTypeKindRequiredDefault
ariaLabelstringpropNoundefined
onValueChange(value: T) => voidcallbackNoundefined
orientation"horizontal" | "vertical"propNo'horizontal'
panelSnippet<[{ value: T; }]>snippetNoundefined
selectWhenFocusedbooleanpropNofalse
sizeControlSizepropNo'md'
tabsreadonly TabItem<T>[]propYes
valueTbindingNoundefined as T | undefined
variantTabsVariantpropNo'underline'

Source

Loading source