Tabs
Tabs are UI elements for organizing and navigating between groups of related content.
Tab API
Import
import { Tab } from '@mui/base/Tab';
// or
import { Tab } from '@mui/base';
Props of the native component are also available.
ref
is forwarded to the root element.To learn how to customize the slot, check out the Overriding component structure guide.
These class names are useful for styling with CSS. They are applied to the root slot when specific states are triggered.
TabPanel API
Import
import { TabPanel } from '@mui/base/TabPanel';
// or
import { TabPanel } from '@mui/base';
Props of the native component are also available.
ref
is forwarded to the root element.To learn how to customize the slot, check out the Overriding component structure guide.
These class names are useful for styling with CSS. They are applied to the root slot when specific states are triggered.
Tabs API
Import
import { Tabs } from '@mui/base/Tabs';
// or
import { Tabs } from '@mui/base';
Props of the native component are also available.
ref
is forwarded to the root element.To learn how to customize the slot, check out the Overriding component structure guide.
These class names are useful for styling with CSS. They are applied to the root slot when specific states are triggered.
TabsList API
Import
import { TabsList } from '@mui/base/TabsList';
// or
import { TabsList } from '@mui/base';
Props of the native component are also available.
ref
is forwarded to the root element.To learn how to customize the slot, check out the Overriding component structure guide.
These class names are useful for styling with CSS. They are applied to the root slot when specific states are triggered.