{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "field-demo",
  "registryDependencies": [
    "https://ui-three-mu.vercel.app/r/field.json"
  ],
  "files": [
    {
      "path": "registry/preskok/example/field-demo.tsx",
      "content": "\"use client\"\n\nimport { Form } from \"react-aria-components/Form\"\n\nimport { Button } from \"@/components/ui/preskok-ui/button\"\nimport {\n  Description,\n  FieldError,\n  Fieldset,\n  Label,\n  Legend,\n} from \"@/components/ui/preskok-ui/field\"\nimport { Input } from \"@/components/ui/preskok-ui/input\"\nimport { Text } from \"@/components/ui/preskok-ui/text\"\nimport { TextField } from \"@/components/ui/preskok-ui/text-field\"\n\nexport default function FieldDemo() {\n  return (\n    <Form>\n      <Fieldset>\n        <Legend>Profile information</Legend>\n        <Text>\n          Update your account&apos;s profile information and email address.\n        </Text>\n\n        <TextField isRequired name=\"firstName\">\n          <Label>First Name</Label>\n          <Input placeholder=\"Your first name\" />\n          <FieldError />\n          <Description>This is your public display name.</Description>\n        </TextField>\n\n        <TextField isRequired name=\"email\">\n          <Label>Email</Label>\n          <Description>This is your email address.</Description>\n          <Input type=\"email\" placeholder=\"Your email\" />\n          <FieldError />\n        </TextField>\n        <TextField isRequired name=\"password\">\n          <Label>Password</Label>\n          <Input type=\"password\" placeholder=\"Your password\" />\n          <FieldError />\n        </TextField>\n        <div data-slot=\"control\">\n          <Button type=\"submit\">Register</Button>\n        </div>\n      </Fieldset>\n    </Form>\n  )\n}\n",
      "type": "registry:example"
    }
  ],
  "type": "registry:example"
}