Default
Your name, email and bio.
Show the codeHide the code
Default, code
const Example = ({ manual = false, disabled = false, variant, orientation }: { manual?: boolean; disabled?: boolean; variant?: 'line' | 'contained'; orientation?: 'horizontal' | 'vertical' }) => (
<Tabs keyboardActivation={manual ? 'manual' : 'automatic'} disabledKeys={disabled ? ['security'] : []} variant={variant} orientation={orientation}>
<TabList aria-label="Account settings">
<Tab id="profile">Profile</Tab>
<Tab id="notifications">Notifications</Tab>
<Tab id="security">Security</Tab>
</TabList>
<TabPanel id="profile"><p>Your name, email and bio.</p></TabPanel>
<TabPanel id="notifications"><p>Choose which emails you get.</p></TabPanel>
<TabPanel id="security"><p>Two-factor authentication and devices.</p></TabPanel>
</Tabs>
);
<Example />