Bloxwap / HIG0.1.1
Component referenceNavigation

Tabs

Loading interactive examples…

API reference

export declare function Tabs({ label, items, value, defaultValue, onValueChange }: {
    label: string;
    items: readonly {
        value: string;
        label: string;
        content: React.ReactNode;
        disabled?: boolean;
    }[];
    value?: string;
    defaultValue?: string;
    onValueChange?: (v: string) => void;
}): React.JSX.Element;

React Native API

export declare function Tabs({ label, items, value, defaultValue, onValueChange }: {
    label: string;
    items: readonly {
        value: string;
        label: string;
        content: React.ReactNode;
        disabled?: boolean;
    }[];
    value?: string;
    defaultValue?: string;
    onValueChange?: (v: string) => void;
}): React.JSX.Element;

Usage & accessibility

Visible label, semantic role/state, keyboard or platform touch behavior; device observations pending.

Feedback: accepted intent only; outcomes supplied by host; live updates silent.

Read the usage guide

On this page