Home / File/ create-account.tsx — ui Source File

create-account.tsx — ui Source File

Architecture documentation for create-account.tsx, a tsx file in the ui codebase. 5 imports, 0 dependents.

File tsx ComponentRegistry UIPrimitives 5 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  f990159e_8a4f_319e_0706_9282e26c00e8["create-account.tsx"]
  aae3c3f1_230a_9c11_a663_8bbc3f0ad054["icons"]
  f990159e_8a4f_319e_0706_9282e26c00e8 --> aae3c3f1_230a_9c11_a663_8bbc3f0ad054
  aa2f3ec6_f291_3763_88ec_65a3f5ad5939["button"]
  f990159e_8a4f_319e_0706_9282e26c00e8 --> aa2f3ec6_f291_3763_88ec_65a3f5ad5939
  95a7752f_4b97_5bde_5d7d_fca03536ac35["card"]
  f990159e_8a4f_319e_0706_9282e26c00e8 --> 95a7752f_4b97_5bde_5d7d_fca03536ac35
  2de1d0e1_ab37_e1b0_4ef3_da8c8fa66107["input"]
  f990159e_8a4f_319e_0706_9282e26c00e8 --> 2de1d0e1_ab37_e1b0_4ef3_da8c8fa66107
  fa665cdb_5f79_b81a_95ab_12ba182fc175["label"]
  f990159e_8a4f_319e_0706_9282e26c00e8 --> fa665cdb_5f79_b81a_95ab_12ba182fc175
  style f990159e_8a4f_319e_0706_9282e26c00e8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"use client"

import { Icons } from "@/components/icons"
import { Button } from "@/registry/new-york/ui/button"
import {
  Card,
  CardContent,
  CardDescription,
  CardFooter,
  CardHeader,
  CardTitle,
} from "@/registry/new-york/ui/card"
import { Input } from "@/registry/new-york/ui/input"
import { Label } from "@/registry/new-york/ui/label"

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

Dependencies

  • button
  • card
  • icons
  • input
  • label

Frequently Asked Questions

What does create-account.tsx do?
create-account.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, UIPrimitives subdomain.
What functions are defined in create-account.tsx?
create-account.tsx defines 1 function(s): CardsCreateAccount.
What does create-account.tsx depend on?
create-account.tsx imports 5 module(s): button, card, icons, input, label.
Where is create-account.tsx in the architecture?
create-account.tsx is located at deprecated/www/components/cards/create-account.tsx (domain: ComponentRegistry, subdomain: UIPrimitives, directory: deprecated/www/components/cards).

Analyze Your Own Codebase

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

Try Supermodel Free