signup-form.tsx — ui Source File
Architecture documentation for signup-form.tsx, a tsx file in the ui codebase. 4 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR a81352c5_0844_dc95_3795_5ce3c2d83684["signup-form.tsx"] 7328fa0a_98b6_fe77_42fd_0d1582b24604["button"] a81352c5_0844_dc95_3795_5ce3c2d83684 --> 7328fa0a_98b6_fe77_42fd_0d1582b24604 deffd1e6_798d_b7fd_c687_7ccabc947893["card"] a81352c5_0844_dc95_3795_5ce3c2d83684 --> deffd1e6_798d_b7fd_c687_7ccabc947893 8a527dea_9425_3da4_8ceb_ec3058568dc9["field"] a81352c5_0844_dc95_3795_5ce3c2d83684 --> 8a527dea_9425_3da4_8ceb_ec3058568dc9 106d51d9_3961_e810_478c_8a9c54987d20["input"] a81352c5_0844_dc95_3795_5ce3c2d83684 --> 106d51d9_3961_e810_478c_8a9c54987d20 style a81352c5_0844_dc95_3795_5ce3c2d83684 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { Button } from "@/registry/bases/base/ui/button"
import {
Card,
CardContent,
CardDescription,
CardHeader,
CardTitle,
} from "@/registry/bases/base/ui/card"
import {
Field,
FieldDescription,
FieldGroup,
FieldLabel,
} from "@/registry/bases/base/ui/field"
import { Input } from "@/registry/bases/base/ui/input"
export function SignupForm({ ...props }: React.ComponentProps<typeof Card>) {
return (
<Card {...props}>
<CardHeader>
<CardTitle>Create an account</CardTitle>
<CardDescription>
Enter your information 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
/>
<FieldDescription>
We'll use this to contact you. We will not share your email
with anyone else.
</FieldDescription>
</Field>
<Field>
<FieldLabel htmlFor="password">Password</FieldLabel>
<Input id="password" type="password" required />
<FieldDescription>
Must be at least 8 characters long.
</FieldDescription>
</Field>
<Field>
<FieldLabel htmlFor="confirm-password">
Confirm Password
</FieldLabel>
<Input id="confirm-password" type="password" required />
<FieldDescription>Please confirm your password.</FieldDescription>
</Field>
<FieldGroup>
<Field>
<Button type="submit">Create Account</Button>
<Button variant="outline" type="button">
Sign up with Google
</Button>
<FieldDescription className="px-6 text-center">
Already have an account? <a href="#">Sign in</a>
</FieldDescription>
</Field>
</FieldGroup>
</FieldGroup>
</form>
</CardContent>
</Card>
)
}
Domain
Subdomains
Functions
Dependencies
- button
- card
- field
- input
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, UIPrimitives 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 4 module(s): button, card, field, input.
Where is signup-form.tsx in the architecture?
signup-form.tsx is located at apps/v4/registry/bases/base/blocks/signup-01/components/signup-form.tsx (domain: ComponentRegistry, subdomain: UIPrimitives, directory: apps/v4/registry/bases/base/blocks/signup-01/components).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free