oc · docs
docs / documentation

@orangecheck/design


@orangecheck/design / Tabs

Function: Tabs()

function Tabs(__namedParameters: ComponentProps<any>): any;

Defined in: primitives/tabs.tsx:15

Tabs — accessible tabbed interface (Radix). Replaces the hand-rolled role="tablist" + manual useState toggles found in vault settings, the www dashboard, me's SnippetCard, attest's CodeTabs, and others. Keyboard nav, roving tabindex, and ARIA wiring come from Radix; the OC look (mono, underline-on-active) is layered on top.

Parameters

ParameterType
__namedParametersComponentProps&lt;any>

Returns

any