signup-form.tsx — ui Source File
Architecture documentation for signup-form.tsx, a tsx file in the ui codebase. 5 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR f8d09002_6c17_ebdd_ae38_fd3eaad5faac["signup-form.tsx"] 7758fdd8_25c1_a333_03ce_5e171102a1ec["utils"] f8d09002_6c17_ebdd_ae38_fd3eaad5faac --> 7758fdd8_25c1_a333_03ce_5e171102a1ec 57e86e45_ac6e_7278_be08_9092724e8401["button"] f8d09002_6c17_ebdd_ae38_fd3eaad5faac --> 57e86e45_ac6e_7278_be08_9092724e8401 c6d6139d_ea69_3d79_5004_68419bae2ac0["card"] f8d09002_6c17_ebdd_ae38_fd3eaad5faac --> c6d6139d_ea69_3d79_5004_68419bae2ac0 169af77a_46c3_8fec_4801_f34a0f1a3471["field"] f8d09002_6c17_ebdd_ae38_fd3eaad5faac --> 169af77a_46c3_8fec_4801_f34a0f1a3471 80cf663d_a411_487c_d69e_ac9d405cd2ec["input"] f8d09002_6c17_ebdd_ae38_fd3eaad5faac --> 80cf663d_a411_487c_d69e_ac9d405cd2ec style f8d09002_6c17_ebdd_ae38_fd3eaad5faac fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { cn } from "@/registry/new-york-v4/lib/utils"
import { Button } from "@/registry/new-york-v4/ui/button"
import {
Card,
CardContent,
CardDescription,
CardHeader,
CardTitle,
} from "@/registry/new-york-v4/ui/card"
import {
Field,
FieldDescription,
FieldGroup,
FieldLabel,
} from "@/registry/new-york-v4/ui/field"
import { Input } from "@/registry/new-york-v4/ui/input"
export function SignupForm({
className,
...props
}: React.ComponentProps<"div">) {
return (
<div className={cn("flex flex-col gap-6", className)} {...props}>
<Card>
<CardHeader className="text-center">
<CardTitle className="text-xl">Create your account</CardTitle>
<CardDescription>
Enter your email 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
/>
</Field>
<Field>
<Field className="grid grid-cols-2 gap-4">
<Field>
<FieldLabel htmlFor="password">Password</FieldLabel>
<Input id="password" type="password" required />
</Field>
<Field>
<FieldLabel htmlFor="confirm-password">
Confirm Password
</FieldLabel>
<Input id="confirm-password" type="password" required />
</Field>
</Field>
<FieldDescription>
Must be at least 8 characters long.
</FieldDescription>
</Field>
<Field>
<Button type="submit">Create Account</Button>
<FieldDescription className="text-center">
Already have an account? <a href="#">Sign in</a>
</FieldDescription>
</Field>
</FieldGroup>
</form>
</CardContent>
</Card>
<FieldDescription className="px-6 text-center">
By clicking continue, you agree to our <a href="#">Terms of Service</a>{" "}
and <a href="#">Privacy Policy</a>.
</FieldDescription>
</div>
)
}
Domain
Subdomains
Functions
Dependencies
- button
- card
- field
- input
- utils
Source
Frequently Asked Questions
What does signup-form.tsx do?
signup-form.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, ChartRegistry subdomain.
What functions are defined in signup-form.tsx?
signup-form.tsx defines 1 function(s): SignupForm.
What does signup-form.tsx depend on?
signup-form.tsx imports 5 module(s): button, card, field, input, utils.
Where is signup-form.tsx in the architecture?
signup-form.tsx is located at apps/v4/registry/new-york-v4/blocks/signup-03/components/signup-form.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/new-york-v4/blocks/signup-03/components).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free