{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "field-select-controls",
  "title": "Field with select control",
  "description": "Field with select control, built from the field component.",
  "registryDependencies": [
    "field",
    "select"
  ],
  "files": [
    {
      "path": "registry/patterns/field-select-controls/field-select-controls.tsx",
      "content": "/**\n * Field with select control - adapted for tealmac UI from the ReUI example \"c-field-3\"\n * (https://github.com/keenthemes/reui), MIT License, Copyright (c) 2025\n * Keenthemes Inc. The full licence text is in THIRD_PARTY_NOTICES.md.\n * Changes: tealmac UI import paths and theme tokens, lucide icons, logical\n * (RTL-safe) spacing and alignment, reduced-motion support and sample\n * content.\n */\nimport {\n  Field,\n  FieldDescription,\n  FieldGroup,\n  FieldLabel,\n} from \"@/components/ui/field\"\nimport {\n  Select,\n  SelectContent,\n  SelectItem,\n  SelectTrigger,\n  SelectValue,\n} from \"@/components/ui/select\"\n\nexport function FieldSelectControls() {\n  return (\n    <div className=\"mx-auto w-full max-w-xs\">\n      <FieldGroup>\n        <Field>\n          <FieldLabel htmlFor=\"plan-selection\">Subscription Plan</FieldLabel>\n          <Select defaultValue=\"pro\">\n            <SelectTrigger id=\"plan-selection\">\n              <SelectValue placeholder=\"Select a plan\" />\n            </SelectTrigger>\n            <SelectContent>\n              <SelectItem value=\"free\">Free - Basic features</SelectItem>\n              <SelectItem value=\"pro\">Pro - Advanced tools</SelectItem>\n              <SelectItem value=\"enterprise\">\n                Enterprise - Custom solutions\n              </SelectItem>\n            </SelectContent>\n          </Select>\n          <FieldDescription>\n            Choose the plan that best fits your needs.\n          </FieldDescription>\n        </Field>\n        <Field>\n          <FieldLabel htmlFor=\"billing-cycle\">Billing Cycle</FieldLabel>\n          <Select defaultValue=\"yearly\">\n            <SelectTrigger id=\"billing-cycle\">\n              <SelectValue placeholder=\"Select billing cycle\" />\n            </SelectTrigger>\n            <SelectContent>\n              <SelectItem value=\"monthly\">Monthly billing</SelectItem>\n              <SelectItem value=\"yearly\">Yearly billing (Save 20%)</SelectItem>\n            </SelectContent>\n          </Select>\n          <FieldDescription>\n            Billing cycles can be changed at any time.\n          </FieldDescription>\n        </Field>\n      </FieldGroup>\n    </div>\n  )\n}\n",
      "type": "registry:block"
    }
  ],
  "type": "registry:block"
}