Home / Function/ DemoCreateAccount() — ui Function Reference

DemoCreateAccount() — ui Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  2f17757d_a16b_ce0e_e55f_a8a1490e1f4f["DemoCreateAccount()"]
  87c1c5da_9621_c42c_2915_6af2689e019a["create-account.tsx"]
  2f17757d_a16b_ce0e_e55f_a8a1490e1f4f -->|defined in| 87c1c5da_9621_c42c_2915_6af2689e019a
  style 2f17757d_a16b_ce0e_e55f_a8a1490e1f4f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/app/(app)/examples/cards/components/create-account.tsx lines 16–60

export function DemoCreateAccount() {
  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 className="mr-2 h-4 w-4" />
            Github
          </Button>
          <Button variant="outline">
            <Icons.google className="mr-2 h-4 w-4" />
            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-background 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 DemoCreateAccount() do?
DemoCreateAccount() is a function in the ui codebase, defined in deprecated/www/app/(app)/examples/cards/components/create-account.tsx.
Where is DemoCreateAccount() defined?
DemoCreateAccount() is defined in deprecated/www/app/(app)/examples/cards/components/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