tab
v4.9.10arrow_drop_downv4.9.10
v4.5.2
v3.9.2
STATUS
Passing
DOWNLOADS
30,335
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
32 KB
Tabs make it easy to explore and switch between different views.
Tabs organize and allow navigation between groups of content that are related and at the same level of hierarchy.
Like
Install tab as a package?
Copied
npm i @bit/mui-org.material-ui.tab
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
chevron_left
chevron_right
tab ()
Properties
Name | Type | Description |
---|---|---|
children | custom | This prop isn’t supported.
Use the |
classes (required) | object | Override or extend the styles applied to the component. See CSS API below for more details. |
className | string | |
disabled | bool | If |
disableFocusRipple | bool | If |
disableRipple | bool | If |
fullWidth | bool | |
icon | node | The icon element. |
indicator | node | For server-side rendering consideration, we let the selected tab render the indicator. |
label | node | The label element. |
onChange | function | |
onClick | function | |
selected | bool | |
textColor | 'secondary' | 'primary' | 'inherit' | |
value | any | You can provide your own value. Otherwise, we fallback to the child position index. |
wrapped | bool | Tab labels appear in a single row. They can use a second line if needed. |