{"id":18578166,"url":"https://github.com/bilaleren/mui-tabs","last_synced_at":"2025-04-10T10:31:02.720Z","repository":{"id":57479163,"uuid":"480589864","full_name":"bilaleren/mui-tabs","owner":"bilaleren","description":"Material UI tabs for React and React Native projects.","archived":false,"fork":false,"pushed_at":"2025-03-22T22:51:07.000Z","size":32492,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T01:32:16.747Z","etag":null,"topics":["material-ui","mui","mui-tabs","react","react-component","react-native","react-native-material-tab","react-native-tab","react-native-tab-view","react-tabs","scss","tabs","typescript"],"latest_commit_sha":null,"homepage":"https://bilaleren.github.io/mui-tabs/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bilaleren.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["bilaleren"]}},"created_at":"2022-04-11T23:52:21.000Z","updated_at":"2025-02-17T11:43:47.000Z","dependencies_parsed_at":"2024-01-09T20:31:18.959Z","dependency_job_id":"9b938a94-d81f-41bd-bd6d-e1123d81ff98","html_url":"https://github.com/bilaleren/mui-tabs","commit_stats":{"total_commits":49,"total_committers":1,"mean_commits":49.0,"dds":0.0,"last_synced_commit":"be9c14e2d6859183294afbfae1547d80e143ad8e"},"previous_names":[],"tags_count":34,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bilaleren%2Fmui-tabs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bilaleren%2Fmui-tabs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bilaleren%2Fmui-tabs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bilaleren%2Fmui-tabs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bilaleren","download_url":"https://codeload.github.com/bilaleren/mui-tabs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248199136,"owners_count":21063641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["material-ui","mui","mui-tabs","react","react-component","react-native","react-native-material-tab","react-native-tab","react-native-tab-view","react-tabs","scss","tabs","typescript"],"created_at":"2024-11-06T23:33:51.847Z","updated_at":"2025-04-10T10:30:57.710Z","avatar_url":"https://github.com/bilaleren.png","language":"TypeScript","funding_links":["https://github.com/sponsors/bilaleren"],"categories":[],"sub_categories":[],"readme":"# MUI Tabs\n\n[![NPM](https://img.shields.io/npm/v/mui-tabs.svg)](https://www.npmjs.com/package/mui-tabs)\n![](https://badgen.net/npm/license/mui-tabs)\n![](https://badgen.net/packagephobia/install/mui-tabs)\n![](https://badgen.net/bundlephobia/min/mui-tabs)\n![](https://badgen.net/bundlephobia/minzip/mui-tabs)\n![](https://badgen.net/npm/dw/mui-tabs)\n![](https://badgen.net/npm/dm/mui-tabs)\n\nThis package was developed based on the [Material UI Tabs](https://mui.com/components/tabs/#main-content) component. [See example](https://bilaleren.github.io/mui-tabs).\n\n## Differences\n\n- emotion, etc. it is not used\n- There is no Material UI requirement\n\n## Features\n\n- [x] [Icon tabs](https://bilaleren.github.io/mui-tabs#icon-tabs)\n- [x] [Vertical tabs](https://bilaleren.github.io/mui-tabs#vertical-tabs)\n- [x] [Scrollable tabs](https://bilaleren.github.io/mui-tabs#scrollable-tabs)\n- [x] [Full width tabs](https://bilaleren.github.io/mui-tabs#fullwidth-tabs)\n- [x] [Centered tabs](https://bilaleren.github.io/mui-tabs#centered-tabs)\n- [x] [Ripple effect supported](https://bilaleren.github.io/mui-tabs#ripple-effect)\n- [x] [React Native supported](./NATIVE_README.md)\n\n## Installation\n\n```bash\nyarn add mui-tabs@^2\n```\n\n\u003e See [here](https://github.com/bilaleren/mui-tabs/tree/v3) for v3 installation and documentation.\n\n## Examples\n\n#### Basic example\n\n```tsx\nimport * as React from 'react'\nimport { Tab, Tabs } from 'mui-tabs'\n\nimport 'mui-tabs/styles/main.css'\n// or import 'mui-tabs/styles/scss/main.scss'\n\nconst App = () =\u003e {\n  const [value, setValue] = React.useState(1)\n\n  return (\n    \u003cTabs value={value} onChange={(value) =\u003e setValue(value)}\u003e\n      \u003cTab value={1} label=\"Tab 1\" /\u003e\n      \u003cTab value={2} label=\"Tab 2\" /\u003e\n    \u003c/Tabs\u003e\n  )\n}\n```\n\n#### Ripple effect example\n\nYou need to install the **react-transition-group** package.\n\n```bash\nyarn add react-transition-group\n```\n\n**Example**\n\n```tsx\nimport * as React from 'react'\nimport { Tab, Tabs } from 'mui-tabs'\nimport RippleButton from 'mui-tabs/RippleButton'\n\nimport 'mui-tabs/styles/main.css'\nimport 'mui-tabs/styles/ripple.css'\n// or import 'mui-tabs/styles/all.css'\n// or import 'mui-tabs/styles/scss/all.scss'\n\nconst App = () =\u003e {\n  const [value, setValue] = React.useState(1)\n\n  return (\n    \u003cTabs\n      value={value}\n      variant=\"scrollable\"\n      scrollButtons={true}\n      onChange={(value) =\u003e setValue(value)}\n      TabComponent={RippleButton}\n      ScrollButtonComponent={RippleButton}\n      allowScrollButtonsMobile={true}\n    \u003e\n      \u003cTab value={1} label=\"Tab 1\" /\u003e\n      \u003cTab value={2} label=\"Tab 2\" /\u003e\n      \u003cTab value={3} label=\"Tab 3\" /\u003e\n      \u003cTab value={4} label=\"Tab 4\" /\u003e\n      \u003cTab value={5} label=\"Tab 5\" /\u003e\n      \u003cTab value={6} label=\"Tab 6\" /\u003e\n      \u003cTab value={7} label=\"Tab 7\" /\u003e\n    \u003c/Tabs\u003e\n  )\n}\n```\n\n## License\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/bilaleren/mui-tabs/blob/master/LICENCE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbilaleren%2Fmui-tabs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbilaleren%2Fmui-tabs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbilaleren%2Fmui-tabs/lists"}