{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "autocomplete-mui-treasury",
  "type": "registry:item",
  "title": "Autocomplete (MUI Treasury)",
  "description": "Autocomplete styled with the MUI Treasury theme — install the theme alongside.",
  "dependencies": [
    "@mui/material",
    "@emotion/react",
    "@emotion/styled"
  ],
  "registryDependencies": [
    "https://www.mui-treasury.com/r/mui-treasury.json"
  ],
  "files": [
    {
      "path": "components/autocomplete-mui-treasury/autocomplete-mui-treasury.tsx",
      "target": "src/mui-treasury/components/autocomplete-mui-treasury/autocomplete-mui-treasury.tsx",
      "content": "'use client';\n\nimport * as React from 'react';\n\nimport { Autocomplete, Box, TextField, Typography } from '@mui/material';\n\nconst TAGS = [\n  'Frontend',\n  'Backend',\n  'Design',\n  'DevOps',\n  'Mobile',\n  'Data',\n  'Security',\n];\n\nconst COUNTRIES = [\n  'Australia',\n  'Canada',\n  'Germany',\n  'Japan',\n  'Thailand',\n  'United Kingdom',\n  'United States',\n];\n\nexport function AutocompleteMuiTreasury() {\n  const [country, setCountry] = React.useState<string | null>(null);\n\n  return (\n    <Box\n      sx={{\n        display: 'flex',\n        flexWrap: 'wrap',\n        justifyContent: 'center',\n        gap: 8,\n        width: '100%',\n      }}\n    >\n      <Box sx={{ width: 320 }}>\n        <Typography variant=\"subtitle1\" sx={{ mb: 1, fontWeight: 600 }}>\n          Project tags\n        </Typography>\n        <Autocomplete\n          multiple\n          options={TAGS}\n          defaultValue={['Frontend', 'Design', 'DevOps']}\n          renderInput={(params) => (\n            <TextField {...params} label=\"Tags\" placeholder=\"Add tag\" />\n          )}\n        />\n      </Box>\n\n      <Box sx={{ width: 320 }}>\n        <Typography variant=\"subtitle1\" sx={{ mb: 1, fontWeight: 600 }}>\n          Billing country\n        </Typography>\n        <Autocomplete\n          options={COUNTRIES}\n          value={country}\n          onChange={(_, value) => setCountry(value)}\n          renderInput={(params) => (\n            <TextField\n              {...params}\n              label=\"Countries\"\n              placeholder=\"Select a country\"\n              error={!country}\n              helperText={!country ? 'Required for tax invoicing.' : undefined}\n            />\n          )}\n        />\n      </Box>\n    </Box>\n  );\n}\n",
      "type": "registry:item"
    },
    {
      "path": "components/autocomplete-mui-treasury/index.ts",
      "target": "src/mui-treasury/components/autocomplete-mui-treasury/index.ts",
      "content": "export * from './autocomplete-mui-treasury';\n",
      "type": "registry:item"
    }
  ],
  "meta": {
    "category": "primitive",
    "subcategory": "autocomplete",
    "exportName": "AutocompleteMuiTreasury"
  }
}