{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "field2",
  "title": "Field",
  "description": "A field is a form control that allows the user to enter a value. Each field example is compatible with form primitives from Radix UI and Base UI.",
  "files": [
    {
      "path": "contents/components/field/2/index.tsx",
      "content": "import {\n  Field,\n  FieldDescription,\n  FieldGroup,\n  FieldLabel,\n  FieldSet,\n} from \"@/components/ui/field\";\nimport { Input } from \"@/components/ui/input\";\n\nexport default function FieldComponent() {\n  return (\n    <FieldSet className=\"w-full max-w-xs\">\n      <FieldGroup>\n        <Field>\n          <FieldLabel htmlFor=\"username\">Username</FieldLabel>\n          <Input id=\"username\" type=\"text\" placeholder=\"Max Leiter\" />\n          <FieldDescription>\n            Choose a unique username for your account.\n          </FieldDescription>\n        </Field>\n        <Field>\n          <FieldLabel htmlFor=\"password\">Password</FieldLabel>\n          <FieldDescription>\n            Must be at least 8 characters long.\n          </FieldDescription>\n          <Input id=\"password\" type=\"password\" placeholder=\"••••••••\" />\n        </Field>\n      </FieldGroup>\n    </FieldSet>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/field2.tsx"
    }
  ],
  "type": "registry:component"
}