Skip to content

🎉 v5 is out! Head to the documentation to get started.

TabContext API

The API documentation of the TabContext React component. Learn more about the props and the CSS customization points.


import TabContext from '@material-ui/lab/TabContext';
// or
import { TabContext } from '@material-ui/lab';

You can learn more about the difference by reading this guide.


Name Type Default Description
children node The content of the component.
value* string The value of the currently selected Tab.

The component cannot hold a ref.

Any other props supplied will be provided to the root element (native element).