Home / Function/ CardsCreateAccount() — ui Function Reference

CardsCreateAccount() — ui Function Reference

Architecture documentation for the CardsCreateAccount() function in create-account.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  7a8ea239_55f3_9aff_38e8_c7cbcdb2367d["CardsCreateAccount()"]
  f990159e_8a4f_319e_0706_9282e26c00e8["create-account.tsx"]
  7a8ea239_55f3_9aff_38e8_c7cbcdb2367d -->|defined in| f990159e_8a4f_319e_0706_9282e26c00e8
  style 7a8ea239_55f3_9aff_38e8_c7cbcdb2367d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/components/cards/create-account.tsx lines 16–60

export function CardsCreateAccount() {
  return (
    <Card>
      <CardHeader className="space-y-1">
        <CardTitle className="text-2xl">Create an account</CardTitle>
        <CardDescription>
          Enter your email below to create your account
        </CardDescription>
      </CardHeader>
      <CardContent className="grid gap-4">
        <div className="grid grid-cols-2 gap-6">
          <Button variant="outline">
            <Icons.gitHub />
            GitHub
          </Button>
          <Button variant="outline">
            <Icons.google />
            Google
          </Button>
        </div>
        <div className="relative">
          <div className="absolute inset-0 flex items-center">
            <span className="w-full border-t" />
          </div>
          <div className="relative flex justify-center text-xs uppercase">
            <span className="bg-card px-2 text-muted-foreground">
              Or continue with
            </span>
          </div>
        </div>
        <div className="grid gap-2">
          <Label htmlFor="email">Email</Label>
          <Input id="email" type="email" placeholder="m@example.com" />
        </div>
        <div className="grid gap-2">
          <Label htmlFor="password">Password</Label>
          <Input id="password" type="password" />
        </div>
      </CardContent>
      <CardFooter>
        <Button className="w-full">Create account</Button>
      </CardFooter>
    </Card>
  )
}

Subdomains

Frequently Asked Questions

What does CardsCreateAccount() do?
CardsCreateAccount() is a function in the ui codebase, defined in deprecated/www/components/cards/create-account.tsx.
Where is CardsCreateAccount() defined?
CardsCreateAccount() is defined in deprecated/www/components/cards/create-account.tsx at line 16.

Analyze Your Own Codebase

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

Try Supermodel Free