{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "tabs-02",
  "type": "registry:item",
  "title": "Tabs with Inverted Text Effect",
  "description": "A modern tab component with mix-blend-mode for automatic text color inversion when the indicator slides beneath tabs",
  "dependencies": [
    "@mui/material",
    "@emotion/react",
    "@emotion/styled"
  ],
  "registryDependencies": [],
  "files": [
    {
      "path": "components/tabs-02/tabs-02.tsx",
      "target": "src/mui-treasury/components/tabs-02/tabs-02.tsx",
      "content": "'use client';\n\nimport * as React from 'react';\n\nimport Tab from '@mui/material/Tab';\nimport Tabs from '@mui/material/Tabs';\n\nexport function Tabs02() {\n  const [value, setValue] = React.useState(2);\n\n  const handleChange = (_event: React.SyntheticEvent, newValue: number) => {\n    setValue(newValue);\n  };\n\n  return (\n    <Tabs\n      value={value}\n      onChange={handleChange}\n      aria-label=\"product category tabs\"\n      sx={(theme) => ({\n        minHeight: 'auto',\n        bgcolor: 'grey.100',\n        borderRadius: 99,\n        p: 1,\n        ...theme.applyStyles('dark', {\n          bgcolor: 'grey.800',\n        }),\n        '& .MuiTabs-flexContainer': {\n          gap: 1,\n        },\n        '& .MuiTab-root': {\n          minHeight: 'auto',\n          py: 1,\n          px: 2,\n          zIndex: 1,\n          color: 'text.secondary',\n          fontWeight: 500,\n          borderRadius: 99,\n          '&.Mui-selected': {\n            color: 'common.black',\n          },\n          ...theme.applyStyles('dark', {\n            '&.Mui-selected': {\n              color: 'common.white',\n            },\n          }),\n        },\n        '& .MuiTabs-indicator': {\n          height: '100%',\n          borderRadius: 99,\n          bgcolor: 'common.white',\n          zIndex: 1,\n          mixBlendMode: 'difference',\n          transition: theme.transitions.create(['left', 'width'], {\n            duration: theme.transitions.duration.standard,\n            easing: theme.transitions.easing.easeInOut,\n          }),\n          ...theme.applyStyles('dark', {\n            bgcolor: 'primary.main',\n          }),\n        },\n      })}\n    >\n      <Tab label=\"All products\" />\n      <Tab label=\"Laptops\" />\n      <Tab label=\"Desktops\" />\n      <Tab label=\"Displays\" />\n    </Tabs>\n  );\n}\n",
      "type": "registry:item"
    },
    {
      "path": "components/tabs-02/index.ts",
      "target": "src/mui-treasury/components/tabs-02/index.ts",
      "content": "export * from './tabs-02';\n",
      "type": "registry:item"
    }
  ],
  "meta": {
    "category": "primitive",
    "previewClassName": "bg-white dark:bg-neutral-950",
    "subcategory": "tabs",
    "exportName": "Tabs02"
  }
}