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 13d78bb7_e097_4f91_efb0_ac46d48d4569["signup-form.tsx"] 381135fe_5f7a_910a_b8a2_691e9756a016["button"] 13d78bb7_e097_4f91_efb0_ac46d48d4569 --> 381135fe_5f7a_910a_b8a2_691e9756a016 11818bc0_4ad2_fa77_9175_f5c44c22af5e["card"] 13d78bb7_e097_4f91_efb0_ac46d48d4569 --> 11818bc0_4ad2_fa77_9175_f5c44c22af5e e2659e08_4bcd_4a08_ab57_ce3a18c3b284["field"] 13d78bb7_e097_4f91_efb0_ac46d48d4569 --> e2659e08_4bcd_4a08_ab57_ce3a18c3b284 dc919c5d_820f_f2af_7ccd_a07763a51161["input"] 13d78bb7_e097_4f91_efb0_ac46d48d4569 --> dc919c5d_820f_f2af_7ccd_a07763a51161 style 13d78bb7_e097_4f91_efb0_ac46d48d4569 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { Button } from "@/registry/bases/radix/ui/button"
import {
Card,
CardContent,
CardDescription,
CardHeader,
CardTitle,
} from "@/registry/bases/radix/ui/card"
import {
Field,
FieldDescription,
FieldGroup,
FieldLabel,
} from "@/registry/bases/radix/ui/field"
import { Input } from "@/registry/bases/radix/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, 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 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/radix/blocks/signup-01/components/signup-form.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/bases/radix/blocks/signup-01/components).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free