Name Type Default Description
action func Callback fired when the component mounts. This is useful when you want to trigger an action programmatically. It currently only supports updateIndicator() action.

function(actions: object) => void
actions: This object contains all possible actions that can be triggered programmatically.
centered bool false If true, the tabs will be centered. This property is intended for large views.
children node The content of the component.
classes object Override or extend the styles applied to the component. See CSS API below for more details.
fullWidth bool false If true, the tabs will grow to use all the available space. This property is intended for small views, like on mobile.
indicatorColor enum: 'secondary' |
'secondary' Determines the color of the indicator.
onChange func Callback fired when the value changes.

function(event: object, value: number) => void
event: The event source of the callback
value: We default to the index of the child
scrollable bool false True invokes scrolling properties and allow for horizontally scrolling (or swiping) the tab bar.
ScrollButtonComponent union: string |
TabScrollButton The component used to render the scroll buttons.
scrollButtons enum: 'auto' |
 'on' |
'auto' Determine behavior of scroll buttons when tabs are set to scroll auto will only present them on medium and larger viewports on will always present them off will never present them
TabIndicatorProps object Properties applied to the TabIndicator element.
textColor enum: 'secondary' |
 'primary' |
'inherit' Determines the color of the Tab.
value any The value of the currently selected Tab. If you don't want any selected Tab, you can set this property to false.

Any other properties supplied will be spread to the root element.


You can override all the class names injected by Material-UI thanks to the classes property. This property accepts the following keys:

  • root
  • flexContainer
  • scroller
  • fixed
  • scrollable
  • centered
  • scrollButtons
  • scrollButtonsAuto
  • indicator

Have a look at overriding with classes section and the implementation of the component for more detail.

If using the overrides key of the theme as documented here, you need to use the following style sheet name: MuiTabs.