Andeus Designfor Reactv0.1
Components · Surfaces

Tabs

Switch between views of the same object. Counts are optional.

jsx
import { Tabs } from '@andeus/ui';

Tabs

jsx
<Tabs value={tab} onChange={setTab} tabs={['Logic', 'Backtest', { value: 'runs', label: 'Runs', count: 12 }]} />

Props

PropTypeDefault
tabsArray<string | { value, label, count? }>Required
valuestringfirst tabControlled with onChange; or pass defaultValue / defaultChecked.
PreviousScreenNextLabeled