{"name":"signup-01","description":"A simple signup form.","registryDependencies":["@herocn/button","@herocn/card","@herocn/input","@herocn/label","@herocn/field"],"files":[{"path":"page.tsx","content":"import { SignupForm } from \"@/components/signup-form\";\n\nexport default function Page() {\n\treturn (\n\t\t<div className=\"flex min-h-svh w-full items-center justify-center p-6 md:p-10\">\n\t\t\t<div className=\"w-full max-w-sm\">\n\t\t\t\t<SignupForm />\n\t\t\t</div>\n\t\t</div>\n\t);\n}\n","type":"registry:page","target":"app/signup/page.tsx"},{"path":"components/signup-form.tsx","content":"import { Button } from \"@/components/ui/button\";\nimport {\n\tCard,\n\tCardContent,\n\tCardDescription,\n\tCardHeader,\n\tCardTitle,\n} from \"@/components/ui/card\";\nimport {\n\tField,\n\tFieldDescription,\n\tFieldGroup,\n\tFieldLabel,\n} from \"@/components/ui/field\";\nimport { Input } from \"@/components/ui/input\";\n\nexport function SignupForm({ ...props }: React.ComponentProps<typeof Card>) {\n\treturn (\n\t\t<Card {...props}>\n\t\t\t<CardHeader>\n\t\t\t\t<CardTitle>Create an account</CardTitle>\n\t\t\t\t<CardDescription>\n\t\t\t\t\tEnter your information below to create your account\n\t\t\t\t</CardDescription>\n\t\t\t</CardHeader>\n\t\t\t<CardContent>\n\t\t\t\t<form>\n\t\t\t\t\t<FieldGroup>\n\t\t\t\t\t\t<Field>\n\t\t\t\t\t\t\t<FieldLabel htmlFor=\"name\">Full Name</FieldLabel>\n\t\t\t\t\t\t\t<Input\n\t\t\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\t\t\tid=\"name\"\n\t\t\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\t\t\tplaceholder=\"John Doe\"\n\t\t\t\t\t\t\t\trequired\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</Field>\n\t\t\t\t\t\t<Field>\n\t\t\t\t\t\t\t<FieldLabel htmlFor=\"email\">Email</FieldLabel>\n\t\t\t\t\t\t\t<Input\n\t\t\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\t\t\tid=\"email\"\n\t\t\t\t\t\t\t\ttype=\"email\"\n\t\t\t\t\t\t\t\tplaceholder=\"maqed@example.com\"\n\t\t\t\t\t\t\t\trequired\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t<FieldDescription>\n\t\t\t\t\t\t\t\tWe&apos;ll use this to contact you. We will not share your email\n\t\t\t\t\t\t\t\twith anyone else.\n\t\t\t\t\t\t\t</FieldDescription>\n\t\t\t\t\t\t</Field>\n\t\t\t\t\t\t<Field>\n\t\t\t\t\t\t\t<FieldLabel htmlFor=\"password\">Password</FieldLabel>\n\t\t\t\t\t\t\t<Input\n\t\t\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\t\t\tid=\"password\"\n\t\t\t\t\t\t\t\ttype=\"password\"\n\t\t\t\t\t\t\t\trequired\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t<FieldDescription>\n\t\t\t\t\t\t\t\tMust be at least 8 characters long.\n\t\t\t\t\t\t\t</FieldDescription>\n\t\t\t\t\t\t</Field>\n\t\t\t\t\t\t<Field>\n\t\t\t\t\t\t\t<FieldLabel htmlFor=\"confirm-password\">\n\t\t\t\t\t\t\t\tConfirm Password\n\t\t\t\t\t\t\t</FieldLabel>\n\t\t\t\t\t\t\t<Input\n\t\t\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\t\t\tid=\"confirm-password\"\n\t\t\t\t\t\t\t\ttype=\"password\"\n\t\t\t\t\t\t\t\trequired\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t<FieldDescription>Please confirm your password.</FieldDescription>\n\t\t\t\t\t\t</Field>\n\t\t\t\t\t\t<FieldGroup>\n\t\t\t\t\t\t\t<Field>\n\t\t\t\t\t\t\t\t<Button type=\"submit\">Create Account</Button>\n\t\t\t\t\t\t\t\t<Button variant=\"outline\" type=\"button\">\n\t\t\t\t\t\t\t\t\t<svg\n\t\t\t\t\t\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\t\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t<path\n\t\t\t\t\t\t\t\t\t\t\tfill=\"#4285f4\"\n\t\t\t\t\t\t\t\t\t\t\td=\"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92a5.06 5.06 0 0 1-2.2 3.32v2.77h3.57c2.08-1.92 3.27-4.74 3.27-8.1Z\"\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t<path\n\t\t\t\t\t\t\t\t\t\t\tfill=\"#34a853\"\n\t\t\t\t\t\t\t\t\t\t\td=\"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84A11 11 0 0 0 12 23Z\"\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t<path\n\t\t\t\t\t\t\t\t\t\t\tfill=\"#fbbc05\"\n\t\t\t\t\t\t\t\t\t\t\td=\"M5.84 14.1A6.6 6.6 0 0 1 5.49 12c0-.73.13-1.43.35-2.09V7.07H2.18A11 11 0 0 0 1 12c0 1.78.43 3.45 1.18 4.93l3.66-2.83Z\"\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t<path\n\t\t\t\t\t\t\t\t\t\t\tfill=\"#ea4335\"\n\t\t\t\t\t\t\t\t\t\t\td=\"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15A11 11 0 0 0 12 1 11 11 0 0 0 2.18 7.07l3.66 2.84A6.56 6.56 0 0 1 12 5.38Z\"\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t</svg>\n\t\t\t\t\t\t\t\t\tContinue with Google\n\t\t\t\t\t\t\t\t</Button>\n\t\t\t\t\t\t\t\t<FieldDescription className=\"px-6 text-center\">\n\t\t\t\t\t\t\t\t\tAlready have an account? <a href=\"#\">Sign in</a>\n\t\t\t\t\t\t\t\t</FieldDescription>\n\t\t\t\t\t\t\t</Field>\n\t\t\t\t\t\t</FieldGroup>\n\t\t\t\t\t</FieldGroup>\n\t\t\t\t</form>\n\t\t\t</CardContent>\n\t\t</Card>\n\t);\n}\n","type":"registry:component","target":"components/signup-form.tsx"}],"categories":["authentication","signup"],"type":"registry:block"}