Home / Function/ SignupForm() — ui Function Reference

SignupForm() — ui Function Reference

Architecture documentation for the SignupForm() function in signup-form.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  8f02a141_ef44_5ed6_d01a_a353d1acc5ea["SignupForm()"]
  a81352c5_0844_dc95_3795_5ce3c2d83684["signup-form.tsx"]
  8f02a141_ef44_5ed6_d01a_a353d1acc5ea -->|defined in| a81352c5_0844_dc95_3795_5ce3c2d83684
  style 8f02a141_ef44_5ed6_d01a_a353d1acc5ea fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/base/blocks/signup-01/components/signup-form.tsx lines 17–76

export function SignupForm({ ...props }: React.ComponentProps<typeof Card>) {
  return (
    <Card {...props}>
      <CardHeader>
        <CardTitle>Create an account</CardTitle>
        <CardDescription>
          Enter your information below to create your account
        </CardDescription>
      </CardHeader>
      <CardContent>
        <form>
          <FieldGroup>
            <Field>
              <FieldLabel htmlFor="name">Full Name</FieldLabel>
              <Input id="name" type="text" placeholder="John Doe" required />
            </Field>
            <Field>
              <FieldLabel htmlFor="email">Email</FieldLabel>
              <Input
                id="email"
                type="email"
                placeholder="m@example.com"
                required
              />
              <FieldDescription>
                We&apos;ll use this to contact you. We will not share your email
                with anyone else.
              </FieldDescription>
            </Field>
            <Field>
              <FieldLabel htmlFor="password">Password</FieldLabel>
              <Input id="password" type="password" required />
              <FieldDescription>
                Must be at least 8 characters long.
              </FieldDescription>
            </Field>
            <Field>
              <FieldLabel htmlFor="confirm-password">
                Confirm Password
              </FieldLabel>
              <Input id="confirm-password" type="password" required />
              <FieldDescription>Please confirm your password.</FieldDescription>
            </Field>
            <FieldGroup>
              <Field>
                <Button type="submit">Create Account</Button>
                <Button variant="outline" type="button">
                  Sign up with Google
                </Button>
                <FieldDescription className="px-6 text-center">
                  Already have an account? <a href="#">Sign in</a>
                </FieldDescription>
              </Field>
            </FieldGroup>
          </FieldGroup>
        </form>
      </CardContent>
    </Card>
  )
}

Subdomains

Frequently Asked Questions

What does SignupForm() do?
SignupForm() is a function in the ui codebase, defined in apps/v4/registry/bases/base/blocks/signup-01/components/signup-form.tsx.
Where is SignupForm() defined?
SignupForm() is defined in apps/v4/registry/bases/base/blocks/signup-01/components/signup-form.tsx at line 17.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free