function / @typed/ui/Tab

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

Import

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

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