{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "select-mui-treasury",
  "type": "registry:item",
  "title": "Select (MUI Treasury)",
  "description": "Select 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/select-mui-treasury/select-mui-treasury.tsx",
      "target": "src/mui-treasury/components/select-mui-treasury/select-mui-treasury.tsx",
      "content": "'use client';\n\nimport * as React from 'react';\n\nimport {\n  Box,\n  FormControl,\n  FormHelperText,\n  InputLabel,\n  MenuItem,\n  Select,\n  Typography,\n} from '@mui/material';\n\nexport function SelectMuiTreasury() {\n  const [country, setCountry] = React.useState('');\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: 260 }}>\n        <Typography variant=\"subtitle1\" sx={{ mb: 1, fontWeight: 600 }}>\n          Choose a plan\n        </Typography>\n        <FormControl fullWidth>\n          <InputLabel id=\"plan-label\">Plan</InputLabel>\n          <Select labelId=\"plan-label\" label=\"Plan\" defaultValue=\"pro\">\n            <MenuItem value=\"free\">Free</MenuItem>\n            <MenuItem value=\"pro\">Pro</MenuItem>\n            <MenuItem value=\"team\">Team</MenuItem>\n            <MenuItem value=\"enterprise\">Enterprise</MenuItem>\n          </Select>\n        </FormControl>\n      </Box>\n\n      <Box sx={{ width: 260 }}>\n        <Typography variant=\"subtitle1\" sx={{ mb: 1, fontWeight: 600 }}>\n          Billing country\n        </Typography>\n        <FormControl fullWidth error={!country}>\n          <InputLabel id=\"country-label\">Country</InputLabel>\n          <Select\n            labelId=\"country-label\"\n            label=\"Country\"\n            value={country}\n            onChange={(e) => setCountry(e.target.value)}\n          >\n            <MenuItem value=\"au\">Australia</MenuItem>\n            <MenuItem value=\"ca\">Canada</MenuItem>\n            <MenuItem value=\"de\">Germany</MenuItem>\n            <MenuItem value=\"jp\">Japan</MenuItem>\n            <MenuItem value=\"us\">United States</MenuItem>\n          </Select>\n          {!country && (\n            <FormHelperText>Required for tax invoicing.</FormHelperText>\n          )}\n        </FormControl>\n      </Box>\n    </Box>\n  );\n}\n",
      "type": "registry:item"
    },
    {
      "path": "components/select-mui-treasury/index.ts",
      "target": "src/mui-treasury/components/select-mui-treasury/index.ts",
      "content": "export * from './select-mui-treasury';\n",
      "type": "registry:item"
    }
  ],
  "meta": {
    "category": "primitive",
    "subcategory": "select",
    "exportName": "SelectMuiTreasury"
  }
}