---
filename: /packages/material-ui-lab/src/TabContext/TabContext.js
---

<!--- This documentation is automatically generated, do not try to edit it. -->

# TabContext API

<p class="description">The API documentation of the TabContext React component. Learn more about the props and the CSS customization points.</p>

## Import

```js
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](/guides/minimizing-bundle-size/).





## Props

| Name | Type | Default | Description |
|:-----|:-----|:--------|:------------|
| <span class="prop-name">children</span> | <span class="prop-type">node</span> |  | The content of the component. |
| <span class="prop-name required">value<abbr title="required">*</abbr></span> | <span class="prop-type">string</span> |  | 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).

## Demos

- [Tabs](/components/tabs/)

