function / @typed/ui

Tabs.Tab

Renders and optionally registers a tab with stable aria-controls, selected state, and roving tabindex.

Learn this UI primitive →

Package version
1.0.0-beta.13
Category
Tab controls
Since
1.0.0
Member of
Tabs

Import

import { Tabs } from "@typed/ui";

Access Tabs.Tab through the imported Tabs export. Its declaration below describes the member.

This public exposure is a re-export. Its import path is supported; declaration documentation is shared with the other public exposures below.

Signatures

export declare function Tab<const Options extends TabOptions, const Host extends HostResult = never>(options: Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, TabInternalProps<Options>>, Options["content"], Host>): Fx<RenderEvent, Renderable.Error<Options | Host>, Renderable.Services<Options | Host> | Scope.Scope | RenderTemplate>;

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source