Home / Function/ Page() — ui Function Reference

Page() — ui Function Reference

Architecture documentation for the Page() function in login-01.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  0ea59bc5_55b6_1385_b960_cf15b6a82551["Page()"]
  b4568adb_4815_3b01_1579_6cdf90ff1efd["login-01.tsx"]
  0ea59bc5_55b6_1385_b960_cf15b6a82551 -->|defined in| b4568adb_4815_3b01_1579_6cdf90ff1efd
  style 0ea59bc5_55b6_1385_b960_cf15b6a82551 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/registry/new-york/internal/login-01.tsx lines 18–68

export default function Page() {
  return (
    <div className="flex h-screen w-full items-center justify-center px-4">
      <Card className="mx-auto max-w-sm">
        <CardHeader>
          <CardTitle className="text-2xl">Login</CardTitle>
          <CardDescription>
            Enter your email below to login to your account
          </CardDescription>
        </CardHeader>
        <CardContent>
          <div className="grid gap-4">
            <div className="grid gap-2">
              <Label htmlFor="email">Email</Label>
              <Input
                id="email"
                type="email"
                placeholder="m@example.com"
                required
              />
            </div>
            <div className="grid gap-2">
              <div className="flex items-center">
                <Label htmlFor="password">Password</Label>
                <Link
                  href="#"
                  className="ml-auto inline-block text-sm underline"
                >
                  Forgot your password?
                </Link>
              </div>
              <Input id="password" type="password" required />
            </div>
            <Button type="submit" className="w-full">
              Login
            </Button>
            <Button variant="outline" className="w-full">
              Login with Google
            </Button>
          </div>
          <div className="mt-4 text-center text-sm">
            Don&apos;t have an account?{" "}
            <Link href="#" className="underline">
              Sign up
            </Link>
          </div>
        </CardContent>
      </Card>
    </div>
  )
}

Subdomains

Frequently Asked Questions

What does Page() do?
Page() is a function in the ui codebase, defined in deprecated/www/registry/new-york/internal/login-01.tsx.
Where is Page() defined?
Page() is defined in deprecated/www/registry/new-york/internal/login-01.tsx at line 18.

Analyze Your Own Codebase

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

Try Supermodel Free